mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:38:26 +08:00
must also hide header so its not cached
This commit is contained in:
parent
ada7b4a4e8
commit
e59d5fd0eb
|
@ -167,6 +167,7 @@ server {
|
|||
# if Set-Cookie is in the response nothing gets cached
|
||||
# this is double bad cause we are not passing last modified in
|
||||
proxy_ignore_headers "Set-Cookie";
|
||||
proxy_hide_header "Set-Cookie";
|
||||
|
||||
# note x-accel-redirect can not be used with proxy_cache
|
||||
proxy_cache one;
|
||||
|
|
Loading…
Reference in New Issue
Block a user