Reverse proxy for multiple websites
Nguyen Hai Nam
nam.nh at nd24.net
Mon Jan 2 05:10:59 UTC 2012
Hi,
I'm sticking on configure a reverse proxy, my scenario looks like:
Internet
.......|
.......|__Reverse proxy (listen port 80)
......................|__web1.com (listen port 8080)
......................|__web2.net (listen port 8080)
......................|__web-n.org (listen port 8080)
Assume All website shared one public IP only and each website runs on
independent VPS.
If I create multi server{} block to use proxy_pass directive to web
server inside, it's only web1.com can be reachable (perhaps it's on
top config).
It's highly appreciate if someone advice me ideas to make this working.
Thanks,
--
Best regards,
Hai Nam, Nguyen
More information about the nginx
mailing list