Re: inheritance of proxy_http_version and proxy_set_header

2018-05-15 Thread Francis Daly
On Sat, May 12, 2018 at 11:18:23AM -0700, Joe Doe wrote: Hi there, > Here is the config with some info redacted. The only difference between the > mirror that inherited the setting and the ones not is http vs https. For > the time being, to get around the issue, the settings to use keep-alive for

Re: inheritance of proxy_http_version and proxy_set_header

2018-05-12 Thread Joe Doe
Here is the config with some info redacted. The only difference between the mirror that inherited the setting and the ones not is http vs https. For the time being, to get around the issue, the settings to use keep-alive for upstream servers are added to those mirrors. nginx.conf: user nginx; w

Re: inheritance of proxy_http_version and proxy_set_header

2018-05-09 Thread Francis Daly
On Wed, May 09, 2018 at 04:32:51AM -0700, Joe Doe wrote: Hi there, > I have many multiple mirrors for incoming request. To keep the config > clean, I set: > proxy_http_version 1.1; > proxy_set_header ""; > > in the http context. This worked for us (verified keep-alive is working), > and it w

inheritance of proxy_http_version and proxy_set_header

2018-05-09 Thread Joe Doe
I have many multiple mirrors for incoming request. To keep the config clean, I set: proxy_http_version 1.1; proxy_set_header ""; in the http context. This worked for us (verified keep-alive is working), and it will inherit to all the mirror proxy_pass. However, I recently added a mirror that