Does the nginx “upstream” directive have a port setting?
- by orzzzzz
moved from:http://stackoverflow.com/questions/3748517/does-nginx-upstream-has-a-port-setting
I use upstream and proxy for load balancing.
The directive proxy_pass http://upstream_name uses the default port, which is 80.
However, if the upstream server does not listen on this port, then the request fails.
How do I specify an alternate port?
my…