From e59d5fd0eb5afb1dd994bd365c5d5de381c5de46 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 22 May 2015 15:57:32 +1000 Subject: [PATCH] must also hide header so its not cached --- config/nginx.sample.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index 8a2816f4d70..838e98b9cb7 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -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;