Re: Conditionally removing a proxy header

2020-05-26 Thread Francis Daly
On Thu, May 21, 2020 at 04:38:18PM -0400, eckern wrote: Hi there, > Thanks so much Francis, yes that seems to be have worked. Great that you have a config that works for you; and thanks for sharing the confirmed config with the list -- that will almost certainly help the next person with the sam

Re: Conditionally removing a proxy header

2020-05-21 Thread eckern
Thanks so much Francis, yes that seems to be have worked. When the application is accessed outside our domain, it doesn't try to negotiate which would pop up the Windows authentication prompt and would never work anyways, but if the user is inside our domain either by being physically inside the b

Re: Conditionally removing a proxy header

2020-05-14 Thread Francis Daly
Hi there, I'm not certain why you want to do the specific example that you want to do; but if I were doing the general "conditionally remove header" thing, I would probably use "map" to set a new variable "$my_value" based on your variable "$external_traffic". If $external_traffic is 1, set $my_v

Conditionally removing a proxy header

2020-05-12 Thread eckern
I'm trying to conditionally remove a proxy header but this doesn't appear to be allowed using an "if". Ideally it would look something like this where $external_traffic is either 0 or 1: if ($external_traffic) { ... proxy_hide_header WWW-Authenticate; # Remove negotiate header