On 16 Ago 2011 13h25 WEST, nginx-forum at nginx.us wrote: > It seems that expires directive does not support varaibles. Then try this: location / { if ($arg_no_caching) { return 302 /no-caching; } expires 30d; } location /no-caching { expires epoch; } --- appa