must also hide header so its not cached

This commit is contained in:
Sam 2015-05-22 15:57:32 +10:00
parent ada7b4a4e8
commit e59d5fd0eb

View File

@ -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;