|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx + apache vhost = http/1.0
- To: nginx-ru@xxxxxxxxx
- Subject: Re: nginx + apache vhost = http/1.0
- From: Roxis <roxis@xxxxxxx>
- Date: Tue, 15 Jul 2008 15:19:15 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :references:in-reply-to:x-face:x-mailer:mime-version:content-type :content-transfer-encoding:content-disposition:message-id:sender; bh=3zbFwhMQ+Cik58OK+AJAvfrYI0qAZ+pL2BuOdTXlXZQ=; b=l3Fh51JiV6ypkzBlbWfMoybYn+12+P3J6pAUQBFj5ovbBfMAXZMQuFQpjpF+TiJsFG +xBDUqisKq74XQMSCZXI3ZOX2YlJTbzo8ClsuN3xhhjdukNKgwccsQbGbyrXTVqbIioL Be+BMX2nNfguvV5QVKfQyUtGx+hJ8P2S1/WOM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:references:in-reply-to:x-face:x-mailer :mime-version:content-type:content-transfer-encoding :content-disposition:message-id:sender; b=X+PvJ3RmSGPNuYM5vc1lTkgE9JGdKdhD3EUN5QwOnJudkppqieamjl0jferPZF1mxm vwihJFtxeqG3O5t/sRP618oxe82rsJY9VYoxLAMqT7e1zD0GrgFmCY+bHODTV+uKi5r0 wNgOcj0oEcjNC9PQ8vkNji7qJ8ZTyJBfxfWoA=
- In-reply-to: <54BC923C-237E-413E-885C-58F5F9EDB81F@xxxxxxxxxxxx>
- References: <54BC923C-237E-413E-885C-58F5F9EDB81F@xxxxxxxxxxxx>
On Tuesday 15 July 2008, Vladimir Sopot wrote:
> Приветствую!
>
> сложилась странная ситуация:
> есть апач с кучей виртуалхостов:
> .........
> listen 127.0.0.1:80
> listen my.ext.ip:80
> NameVirtualHost my.ext.ip
> <VirtualHost somevirtualhost.ru:80>
> ..........
> </VirtualHost>
> <VirtualHost somevirtualhost2.ru:80>
> ..........
> </VirtualHost>
> ..............
>
> есть nginx:
> ................
> server {
> listen 809 default;
> location / {
> proxy_pass http://localhost:80/;
> .................
> }
> ................
> }
NameVirtualHost и VirtualHost указаны только для внешних адресов.
для 127.0.0.1 будет дефолтный.
укажите правильный NameVirtualHost и VirtualHost для 127.0.0.1
|
|
|