Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.8.44

Maxim Dounin
July 08, 2010 09:26PM
Hello!

On Thu, Jul 08, 2010 at 07:24:55PM -0400, icqheretic wrote:

> Igor Sysoev Wrote:
> -------------------------------------------------------
> > *) Change: now nginx does not cache by default
> > backend responses, if
> > they have a "Set-Cookie" header line.
>
> What's the recommended method to cache even with the Set-Cookie header
> present?

proxy_ignore_headers Set-Cookie;
proxy_hide_header Set-Cookie;

Note that Set-Cookie header no longer hidden by default so you
have to explicitly hide it via proxy_hide_header if it's not
intended to be sent to all users.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx-0.8.44

Igor Sysoev July 05, 2010 11:30AM

Re: nginx-0.8.44

Jérôme Loyet July 05, 2010 11:54AM

Re: nginx-0.8.44

icqheretic July 08, 2010 07:24PM

Re: nginx-0.8.44

Maxim Dounin July 08, 2010 09:26PM

Re: nginx-0.8.44

skang July 09, 2010 12:35PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 252
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready