Re: Handling upstream response 401

2018-07-25 Thread Friscia, Michael
I'm about 98% sure it is returning a 401 but I'm going to do some more research. I don't think we did anything too dumb proxy_cache_valid 200 301 302 404 3m; proxy_cache_use_stale error timeout updating invalid_header http_500 http_502 http_503 http_504; This is kind of what is confusing me bu

Re: Handling upstream response 401

2018-07-25 Thread Maxim Dounin
Hello! On Wed, Jul 25, 2018 at 01:14:29PM +, Friscia, Michael wrote: > If the upstream server returns a 401 response I want to make > sure Nginx serves the response. Right now it is serving the > stale version. What happened is that the upstream page was > public but then made secure, so i

Handling upstream response 401

2018-07-25 Thread Friscia, Michael
I have a problem that I thought I knew how to solve but must be just having a mind blank moment. If the upstream server returns a 401 response I want to make sure Nginx serves the response. Right now it is serving the stale version. What happened is that the upstream page was public but then ma