Response Header IF statement problem
michael.friscia at yale.edu
Wed Feb 14 21:44:02 UTC 2018
Maybe that’s the problem, I want to disable cache if the response header is true but not do anything if it is false. I can change my logic in creating this header to only have it on pages where cache should be disabled if it is not possible to use an IF statement around it. I will post my config here once I get rid of the sensitive things, but the confusing thing is that it worked, then it stopped working.
Office of Communications
Yale School of Medicine
(203) 737-7932 – office
(203) 931-5381 – mobile
On 2/14/18, 4:39 PM, "nginx on behalf of webopsx" <nginx-bounces at nginx.org on behalf of nginx-forum at forum.nginx.org> wrote:
The map is processed on each request and should be very consistent.
I thought you wanted to disable cache on the existence of a response header,
not a request header.
Otherwise I think we need more information to understand, such as how are
you testing? Perhaps paste your full configuration here after removing any
Posted at Nginx Forum: https://urldefense.proofpoint.com/v2/url?u=https-3A__forum.nginx.org_read.php-3F2-2C278558-2C278576-23msg-2D278576&d=DwICAg&c=cjytLXgP8ixuoHflwc-poQ&r=wvXEDjvtDPcv7AlldT5UvDx32KXBEM6um_lS023SJrs&m=x0V3h5hp-I18hCxDQuN0U7f_JYUQYISVWlygl1QK-FU&s=sUMR29LFjCI97P-LSb-RwuojlvhtDhvfRiX_YAio19E&e=
nginx mailing list
nginx at nginx.org
More information about the nginx