mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
must also hide header so its not cached
This commit is contained in:
parent
ada7b4a4e8
commit
e59d5fd0eb
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue