Load Balance Advice

Alan Williamson alan at blog-city.com
Tue Jun 24 11:07:34 MSD 2008


Igor Sysoev wrote:
> On Mon, Jun 23, 2008 at 10:36:24PM +0100, Alan Williamson wrote:
>> What have i missed?
> 
> nginx does not change HTML.
> Probably you see redirects from backend. nginx can rewrite them, but
> you disable it: "proxy_redirect  off".
> Could you write example, what you see and what proxy_pass directive
> do you use ?

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.

thanks

-- 
Alan Williamson

  Try our free registrationless email/sms reminder
    http://yourli.st/

  b: http://alan.blog-city.com/





More information about the nginx mailing list