Qustion for reverse-proxy for virtual host
Brian Henson
bhenson at xenocomp.com
Tue Oct 6 10:10:15 MSD 2009
You can use the proxy_pass directive and it will work.
From: owner-nginx at sysoev.ru [mailto:owner-nginx at sysoev.ru] On Behalf Of quan
nexthop
Sent: Monday, October 05, 2009 2:00 AM
To: nginx; nginx-request at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091006/dfe3fdf7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5787 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20091006/dfe3fdf7/attachment.bin>
More information about the nginx
mailing list