Re: Nginx headers to be set at the time of request processing

2016-12-01 Thread CeeGeeDev
Francis Daly Wrote: --- > On Mon, Nov 28, 2016 at 06:56:29PM -0500, CeeGeeDev wrote: > > Hi there, > > Thanks for expanding on what you are doing. > > I confess that I am still not sure what it is; but that's ok -- I > don't need to understand.

Re: Nginx headers to be set at the time of request processing

2016-11-29 Thread Francis Daly
On Mon, Nov 28, 2016 at 06:56:29PM -0500, CeeGeeDev wrote: Hi there, Thanks for expanding on what you are doing. I confess that I am still not sure what it is; but that's ok -- I don't need to understand. > So for the benefit of the community: our plan is to implement a custom > configuration d

Re: Nginx headers to be set at the time of request processing

2016-11-28 Thread CeeGeeDev
Francis Daly Wrote: --- > On Wed, Nov 23, 2016 at 01:22:42PM -0500, Sushma wrote: > > Hi there, > > > I understand that proxy_set_header sets headers before proxying the > > request to the upstream server. > > proxy_set_header adds extra http h

Re: Nginx headers to be set at the time of request processing

2016-11-23 Thread CeeGeeDev
To be clear, this is for a custom http module we wrote. We want it to know about request headers that we set in the nginx.conf (for proxy_pass etc). But it doesn't seem like the custom module receives the modified request headers. Is there any way to both a) set a request header for proxy_pass but

Re: Nginx headers to be set at the time of request processing

2016-11-23 Thread Francis Daly
On Wed, Nov 23, 2016 at 01:22:42PM -0500, Sushma wrote: Hi there, > I understand that proxy_set_header sets headers before proxying the request > to the upstream server. proxy_set_header adds extra http headers to the request that nginx sends to its upstream as part of the proxy_pass configurati

Nginx headers to be set at the time of request processing

2016-11-23 Thread Sushma
Hi all, I understand that proxy_set_header sets headers before proxying the request to the upstream server. Is there some way I can set the headers at the time of request processing itself not just before proxying to upstream servers? Thanks, Sushma Posted at Nginx Forum: https://forum.nginx.or