upstream host name or address
torajx
nginx-forum at nginx.us
Mon Jun 20 10:23:55 MSD 2011
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
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,208188,208391#msg-208391
More information about the nginx
mailing list