Maxim, that's what I need. Thanks a lot!
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,239207,239220#msg-239220
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hi,
Using NginX as a reverse proxy, I want to cache the response ONLY if the
user has NOT logged in, which can be checked by testing the existence of a
cookie.
First I tried to use "if", but NginX complained that I cannot put a
proxy_cache_valid inside an "if":
location / {
proxy_pass http://www