[NGINX] condition proxy_cache

Jérôme Loyet jerome at loyet.net
Thu Feb 11 16:49:32 MSK 2010


Hi,

is there a way to disable proxy_cache on specific get parameters or
http headers ?

for example, this doesn't work:

if ($args ~* nocache=) {
  proxy_cache off;
}


Thx
++ jerome



More information about the nginx mailing list