Dotted cookie name as proxy_cache_key problem
Maxim Dounin
mdounin at mdounin.ru
Thu Mar 11 13:01:17 MSK 2010
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
More information about the nginx
mailing list