Re: proxy_pass & getServerPort problems

2014-02-12 Thread Jiang Web
Francis Daly wrote in post #1136476: > On Wed, Feb 12, 2014 at 08:51:13AM +0100, Jiang Web wrote: > > Hi there, > >> location /NetWeb/ { >> proxy_pass http://w3new_cls/NetWeb/; >> proxy_redirect off; >> proxy_set_header Host $host:80; > >> when I access

proxy_pass & getServerPort problems

2014-02-11 Thread Jiang Web
When I use the nginx upstream and proxy_pass to Reverse Proxy the request. the configuration is: upstream w3new_cls { server szxap205-in.huawei.com:9090; server szxap206-in.huawei.com:9090; } server { listen 80; server_name w3.huawei.com; location /NetWeb/ { proxy_pass http://w3new_cls/NetWeb/;