mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
must also hide header so its not cached
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user