Response Header IF statement problem

Friscia, Michael michael.friscia at
Wed Feb 14 14:09:57 UTC 2018

I’m at a loss on this. I am working on a cache problem where some pages need to be bypassed and others will be cached. So the web server is adding a response header (X-Secured-Page). I’ve tried multiple combinations of
$http_x_secured_page and $sent_http_x_secured_page and even though I see the header when I inspect the page, the IF statements inside the location block are not getting fired off.

What could I possibly be doing wrong?

Michael Friscia
Office of Communications
Yale School of Medicine
(203) 737-7932 - office
(203) 931-5381 - mobile<>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list