Nginx 域名传递 Apache 虚拟主机

Posted by bower on February 11, 2011
linux/ubuntu

femme rencontre homme gratuit belgique 分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Nginx to proxy virtual hosts to Apache

rencontre louhans 需求:两台服务器,一台nginx 是总入口, 一台跑apache

http://jeremiahstaproom.co.uk/?violeta=free-online-black-dating-websites&900=f6

http://www.lexiquedumanagement.com/milkivay/4628 nginx把指定域名转向apache, 此类域名有多个,所以apache 要用virtal host 根据不同域名指向不同目录,

http://thenovello.com/alfondie/elkos/1076 关键一点是要将域名信息从nginx传向apache

check my source nginx配置:

rencontre madagascar femme server { server_name example.com; proxy_pass http://192.168.1.103; proxy_set_header Host $host;#关键 } server { server_name fghrt.com; proxy_pass http://192.168.1.103; proxy_set_header Host $host; }

site de rencontre musulman france

browse around this site apache

 <VirtualHost *:80>
  ServerName example.com
  …
</VirtualHost>

 <VirtualHost *:80>
  ServerName fghrt.com
  …
</VirtualHost>

http://gsc-research.de/gsc/nachrichten/detailansicht/index.html?cHash=3a0c17a23d 分享到:人人网开心网腾讯微博新浪微博豆瓣分享腾讯空间百度搜藏腾讯书签

分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word