session cache

Francis Daly francis at daoine.org
Mon Dec 2 17:40:12 UTC 2013


On Mon, Dec 02, 2013 at 09:29:53PM +0400, Дмитрий Лабазнов wrote:

Hi there,

> > If it is a cookie called "user", then something like
> 
> >  proxy_cache_key "$host$request_uri $cookie_user";

> yes cookie, what does it mean called "user" ?
> Users have a cookie session, and this strind do not work =(

http://nginx.org/en/docs/http/ngx_http_core_module.html#variables

or maybe

http://nginx.org/ru/docs/http/ngx_http_core_module.html#variables

If the cookie name is "session", then the nginx variable is
$cookie_session.

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list