Welcome! Log In Create A New Profile

Advanced

Dotted cookie name as proxy_cache_key problem

March 10, 2010 11:50AM
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";

And now proxied key is:
KEY: youtrack.jetbrains.net/issue/RSRP-170140 .charisma.main.security.PRINCIPAL

I think there's some problem with parsing cookie name, because I don't see content of cookie in key name.
Nginx version is: 0.7.64

Can somebody explain me what should I set in proxy_cache_key to handle cookie name correctly, please ?

Thanks,
Sergey
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: 87
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready