nginx ignores proxy_ignore_headers

Maxim Dounin mdounin at mdounin.ru
Thu Feb 24 12:58:12 MSK 2011


Hello!

On Wed, Feb 23, 2011 at 11:10:23AM -0500, VRider wrote:

[...]

> Only difference is that second request (the one that is not cached) had
> Set-Cookie, but I don't use cookie in proxy_cache_key.
> proxy_cache_key "$host$request_uri";
> 
> What am I missing?

Changes with nginx 0.8.44:

    *) Change: now nginx does not cache by default backend responses, if 
       they have a "Set-Cookie" header line.

Maxim Dounin



More information about the nginx mailing list