Forum: NGINX Re: proxy_cache_bypass and proxy_no_cache

Posted by "António P. P. Almeida" <appa@perusio.net> (Guest)
on 2012-12-10 09:55
(Received via mailing list)
Another option is to use an if.

set $dont_cache 0;

if ($cookie_no_cache) {
    set $dont_cache 1;
}

--appa

amodpandey <nginx-forum@nginx.us> a écrit :
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.