Re: inheritance of proxy_http_version and proxy_set_header

2018-05-12 Thread Joe Doe
n 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.

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

Re: Logging of mirror requests

2018-05-08 Thread Joe Doe
Thank you very much! That did the trick. On Tue, May 8, 2018 at 12:15 PM, Maxim Dounin wrote: > Hello! > > On Mon, May 07, 2018 at 07:59:10PM -0700, Joe Doe wrote: > > > I have used ngx_http_mirror_module to create mirrors. I would like to log > > these requests as

Logging of mirror requests

2018-05-07 Thread Joe Doe
Hi, I have used ngx_http_mirror_module to create mirrors. I would like to log these requests as well? So in the /mirror location, I added access_log directive, but the log file was created, but no logs were produced. Is logging currently limited to only the original request? Best, Jay __