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: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready