upsteam + proxy_redirect ??

torajx nginx-forum at nginx.us
Wed Jun 15 11:19:23 MSD 2011


hi again
only one question left;
i want to add more server to my upstream;
i tried to use this :
proxy_set_header  Host $upstream_addr;

but $upstream_addr  contains port of upstream server too;
i did not find any thing yet to remove port from $upstream_addr;
how can i do it ?

thanks again

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,206003,207030#msg-207030




More information about the nginx mailing list