Welcome! Log In Create A New Profile

Advanced

Re: Proxy Caching ignore path

August 06, 2019 12:12PM
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';
}
Subject Author Posted

Proxy Caching ignore path

jvanetten August 06, 2019 10:27AM

Re: Proxy Caching ignore path

itpp2012 August 06, 2019 11:27AM

Re: Proxy Caching ignore path

jvanetten August 06, 2019 12:12PM

Re: Proxy Caching ignore path

itpp2012 August 06, 2019 04:04PM

Re: Proxy Caching ignore path

Francis Daly August 07, 2019 03:16AM

Re: Proxy Caching ignore path

Francis Daly August 07, 2019 03:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready