Welcome! Log In Create A New Profile

Advanced

Re: upstream host name or address

June 20, 2011 02:23AM
sorry againa and again
i forgot one line again i have this line in my csupdate location too'
proxy_redirect http://192.168.1.1/csupdate http://nx.chare.ir/csupdate;

my csupdate location is like this finally :

location /csupdate {
proxy_pass http://mysites_hash/csupdate;
proxy_set_header Host 192.168.1.1;
proxy_redirect http://192.168.1.1/csupdate http://nx.chare.ir/csupdate;
}

but this works when i have only one server in mysites_has upstream
Subject Author Posted

upstream host name or address

torajx June 19, 2011 07:26AM

Re: upstream host name or address

torajx June 19, 2011 07:43AM

Re: upstream host name or address

Maxim Dounin June 19, 2011 05:42PM

Re: upstream host name or address

torajx June 20, 2011 12:57AM

Re: upstream host name or address

torajx June 20, 2011 12:59AM

Re: upstream host name or address

torajx June 20, 2011 02:23AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
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