How do I get the file descriptor of an incoming request?

2019-01-04 Thread Ottavio Campana
Hello, I am trying to write my first module for nginx. I have a ngx_http_request_t *r . How can I get the file descriptor where the request comes from? Thank you, Ottavio -- Non c'è più forza nella normalità, c'è solo monotonia ___ nginx mailing list

Re: NGINX not passing header to proxy

2019-01-04 Thread Francis Daly
On Thu, Jan 03, 2019 at 06:17:44PM -0500, Sesshomurai wrote: Hi there, > This problem was resolved with the help of the cloud provider. Turns out I > need to set the Host header > > proxy_set_header Host upstreamhostname; Good that you now have it working. Note that nginx should set the Host