On Tue, Aug 06, 2019 at 10:27:57AM -0400, jvanetten wrote:
Hi there,
> I have a situation where I need to enable proxy cache for a gateway but
> anything that goes to /gateway/public/files/ I do not want to cache. I have
> tried nested locations and all kinds of configurations with no success. It
On Tue, Aug 06, 2019 at 11:27:21AM -0400, itpp2012 wrote:
Hi there,
> The first location match is the active one, add another location before this
> one to change its caching behavior.
No.
*regex* locations care about the order in the config.
Other locations do not -- longest match is best (pl
Above not below.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,285128,285135#msg-285135
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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
The first location match is the active one, add another location before this
one to change its caching behavior.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,285128,285130#msg-285130
___
nginx mailing list
nginx@nginx.org
http://mailman.ng
I have a situation where I need to enable proxy cache for a gateway but
anything that goes to /gateway/public/files/ I do not want to cache. I have
tried nested locations and all kinds of configurations with no success. It
usually lands up with 404 errors on /gateway/public/files/ the complete url