You can use the proxy_pass directive and it will work.
From: owner-nginx@sysoev.ru [mailto:owner-nginx@sysoev.ru] On Behalf Of quan
nexthop
Sent: Monday, October 05, 2009 2:00 AM
To: nginx; nginx-request@sysoev.ru
Subject: Qustion for reverse-proxy for virtual host
Hi all:
I try to setup the NGINX as a reverse-proxy to protect several webservers,
which lots of websites are running on. Yes, it is a virtual host :)
abc.com |-----------[nginx reverse proxy] ------- |virtualhost] ----/abc
directory
123.com |
|--/123 directory
[note] the virtualhost port is 80.
I go through the wiki.nginx.net and can not find any configuration related
with the topology.
Any one can paste a configuration for such case?
how can I distinguish the different server in one listening port?
thanks
George