Load Balance Advice
alan at blog-city.com
Tue Jun 24 12:16:18 MSD 2008
Igor Sysoev wrote:
>> I had missed this direction:
>> proxy_set_header Host $host;
>> irrespective of what HTTP version i was coming in on, it was dropping
>> the "host:" directive. As soon as i put that in, burst into life.
> By default "Host" is set to a host in proxy_pass directive, i.e., if
> proxy_pass http://myproject;
> then "Host" will be "myproject".
Thanks Igor. So i take it then my proxy_set_header directive overwrites
the "Host" part. The backends won't be presented with 2 "Host" fields?
Try our free registrationless email/sms reminder
More information about the nginx