possibble to use fastcgi cache with set-cookie header

Jérôme Loyet jerome at loyet.net
Fri Aug 20 02:34:34 MSD 2010


2010/8/20 Jools Wills <buzz at exotica.org.uk>:
>> fastcgi_ignore_headers Cache-Control Expires;
>
> Changing this to
>
> fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
>
> seems to do the job, but this is not documented anywhere I could find (not
> on the wiki for example). Is this correct?

yes it is. But be careful using this on a site where cookies are used
for authentication and cannot be switch between users.

> if so, I'll add it to the wiki
> (and if it is what version was this introduced?)
>
> I'm running nginx 0.8.49 btw.
>
> Best Regards
>
> Jools
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list