nginx cache seems to swallow Set-Cookie

Maxim Dounin mdounin at mdounin.ru
Mon Sep 6 19:38:14 MSD 2010


Hello!

On Mon, Sep 06, 2010 at 10:46:16AM -0400, Dayo wrote:

> Maxim Dounin Wrote:
> -------------------------------------------------------
> > In 0.7.67 nginx strips Set-Cookie headers by
> > default on all 
> > responses served with proxy_cache switched on. 
> ARRGHHH!!!! This is not documented in the changelog and I was going
> crazy on why my apps which had been working perfectly fine suddenly
> stopped working on upgrading to 0.7.67.

0.7.52:

    *) Bugfix: now the "Set-Cookie" and "P3P" header lines are hidden in 
       cacheable responses.

Basically this is how it used to work since introduction of cache 
in 0.7.*, at least in all 0.7.* stable releases (cache was 
introduced in 0.7.48, 0.7.* branch was marked stable at 0.7.59).

Maxim Dounin



More information about the nginx mailing list