set port range for nginx

Fufeng Yao illuminating.me at gmail.com
Fri Feb 8 03:20:35 UTC 2013


Hi, all
I've got an nginx server in an internal network, and the server will
forward request to outer net using proxy_pass,
it seems like:
proxy_pass http://[public ip]:[port]
Unfortunately, the firewall block most of the port, so the proxy_pass
failed.
I have two questions:
How the proxy_pass use port to forward the request? pick a random port?
Would that be possible to set a port range (10000~20000 e.g) for proxy_pass
to use?

Regards,
Yao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130208/453f2e8b/attachment.html>


More information about the nginx mailing list