как это можно осуществить?
пробовал вот так:
[code]
if ($http_cookie ~* "portalaliasid=([^;]+)(?:;|$)" ) {
break;
proxy_cache off;
}
[/code]
но
[code]
[emerg]: "proxy_cache" directive is not allowed here
[/code]
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,144647,144647#msg-144647