Welcome! Log In Create A New Profile

Advanced

Re: Dotted cookie name as proxy_cache_key problem

Maxim Dounin
March 11, 2010 05:08AM
Hello!

On Wed, Mar 10, 2010 at 10:59:53PM -0500, SergeyZh wrote:

> I'm trying to configure proxy cache for backend server and
> cookie name with user's login is long with dots
> (jetbrains.charisma.main.security.PRINCIPAL).
>
> So my config is:
> proxy_cache_key "$host$request_uri $cookie_jetbrains.charisma.main.security.PRINCIPAL";

Try this:

- proxy_cache_key "$host$request_uri $cookie_jetbrains.charisma.main.security.PRINCIPAL";
+ proxy_cache_key "$host$request_uri ${cookie_jetbrains.charisma.main.security.PRINCIPAL}";

Maxim Dounin

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

Dotted cookie name as proxy_cache_key problem

SergeyZh March 10, 2010 11:50AM

Re: Dotted cookie name as proxy_cache_key problem

Maxim Dounin March 11, 2010 05:08AM

Re: Dotted cookie name as proxy_cache_key problem

SergeyZh March 11, 2010 08:30AM

Re: Dotted cookie name as proxy_cache_key problem

Maxim Dounin March 11, 2010 09:26AM

Re: Dotted cookie name as proxy_cache_key problem

SergeyZh March 11, 2010 10:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 154
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