Welcome! Log In Create A New Profile

Advanced

Send X-Header to proxied server

Posted by wbillings 
Send X-Header to proxied server
August 31, 2009 12:13PM
I need to be able to pass a X-Header to the proxied server. I have set the "add_header X-Secure "Yes"" command in the <server> section of the nginx config file, but when I look at the packets in Wireshark coming from the nginx load balancer, the header is not being passed in the HTTP headers.

How do I make this happen?

Thanks,

Q. Wade Billings
Re: Send X-Header to proxied server
August 31, 2009 03:36PM
Never mind, I figured it out on my own. For those who are having similar issues, use the:

proxy_set_header X-Secure "Yes"

setting in the conf file under the location section.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 295
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready