Load Balance Advice
is at rambler-co.ru
Tue Jun 24 11:10:40 MSD 2008
On Tue, Jun 24, 2008 at 08:07:34AM +0100, Alan Williamson wrote:
> 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.
By default "Host" is set to a host in proxy_pass directive, i.e., if
then "Host" will be "myproject".
More information about the nginx