Re: proxy_set_header on HTTP or Server level

2019-12-05 Thread stmx38
Francis, Basically, the issue was with the 'proxy_set_header' directives. In such cases, when we define at least one in the location, we should also define all the rests headers. >From your reply, I understand that with the 'proxy_read_timeout/proxy_send_timeout' we should not have such situation

Re: proxy_set_header on HTTP or Server level

2019-08-30 Thread Francis Daly
On Fri, Aug 30, 2019 at 01:03:57PM -0400, stmx38 wrote: Hi there, > As per documentation - > http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header: > Context: http, server, location > > > These directives are inherited from the previous level if and only if > there are n

proxy_set_header on HTTP or Server level

2019-08-30 Thread stmx38
Hello, We recently made some order in our configuration to make it cleaner and readable. We have moved all reverse proxy related parameters on the HTTP level from the vhosts locations: proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X