Greetings, Our custom nginx module implements a number of subrequests (REST calls to other servers to obtain data for our business logic). Everything is working correctly, except one customer requires a corporate HTTP web proxy for the URL (running on a different server) that our subrequests will be hitting. It's not clear to us how to configure a "web proxy" for a subrequest, since tby CeeGeeDev - Nginx Mailing List - English
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. Some of our team members might say the same, so appreciate yourby CeeGeeDev - Nginx Mailing List - English
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 headers to the request that nginx > sends to its upstream aby CeeGeeDev - Nginx Mailing List - English
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 also b) have custom http module code living inside the same nginx also process the request that has tby CeeGeeDev - Nginx Mailing List - English