Re: allow traffic through with a certain header value

2018-06-20 Thread Francis Daly
On Tue, Jun 19, 2018 at 03:34:13PM -0400, vchha...@medallia.com wrote: Hi there, > I'm trying the "if" statement below in my > nginx app config file, but doesn't seem to quite work. It just gives a > 403 for every request. > location / { >if ($http_headerkey != "headervalue") { >

allow traffic through with a certain header value

2018-06-19 Thread vchha...@medallia.com
Hi Nginx Forum This is my first posting here. I'm trying to configure an application to only allow traffic if a certain header value matches exactly. I'm trying the "if" statement below in my nginx app config file, but doesn't seem to quite work. It just gives a 403 for every request.