Welcome! Log In Create A New Profile

Advanced

Re: ReverseProxy: Send hostname upstream

December 17, 2011 10:43AM
One addition:

Actually, I am not trying to proxy one server (as I learned, this can be done by just assigning "proxy_set_header Host " someServer.akamai.com", but if possible several (I just reverted to one here for boiling down the issue).

So I am using an upstream directive like this
upstream akamaiBackend {
server someServer1.akamai.com:80;
server someServer2.akamai.com:80;
server someServer3.akamai.com:80;
}

Maybe it is possible to define the header_host to be forwarded in the upstream directive? Haven't found it in the docs, though...

Thanks
fatzopilot
Subject Author Posted

ReverseProxy: Send hostname upstream

fatzopilot December 16, 2011 04:52PM

Re: ReverseProxy: Send hostname upstream

Maxim Dounin December 17, 2011 07:54AM

Re: ReverseProxy: Send hostname upstream

fatzopilot December 17, 2011 10:22AM

Re: ReverseProxy: Send hostname upstream

fatzopilot December 17, 2011 10:43AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready