itpp2012 Wrote:
-------------------------------------------------------
> The first location match is the active one, add another location
> before this one to change its caching behavior.


So adding the following below the other location should work?:

location /gateway/public/files/ {
expires -1;
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate,
proxy-revalidate, max-age=0';
}

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,285128,285131#msg-285131

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to