11 messages in ru.sysoev.nginxRe: one vhost takes over entire server
FromSent OnAttachments
Almir KaricOct 29, 2007 7:25 am 
Igor SysoevOct 29, 2007 8:19 am 
Almir KaricOct 29, 2007 9:28 am 
Almir KaricOct 29, 2007 9:47 am 
Almir KaricOct 30, 2007 11:11 am 
Igor SysoevOct 30, 2007 11:35 am 
Almir KaricOct 30, 2007 12:45 pm 
Igor SysoevOct 30, 2007 10:36 pm 
Almir KaricOct 31, 2007 3:01 am 
Almir KaricNov 6, 2007 7:18 am 
Brice FigureauNov 6, 2007 7:35 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: one vhost takes over entire serverActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Oct 29, 2007 8:19:07 am
List:ru.sysoev.nginx

On Mon, Oct 29, 2007 at 03:26:02PM +0100, Almir Karic wrote:

so this is the deal, i have a perferctly working nginx configuration

nginx.conf: http://www.kiberpipa.org/~redduck666/nginx.conf entire /etc/nginx/sites-enabled/ http://www.kiberpipa.org/~redduck666/nginx/sites-enabled

and than i try to add another vhost to the nginx server, http://www.kiberpipa.org/~redduck666/nginx/ooocon.kiberpipa.org, when i enable that vhosts no matter which site i request i get the content of the ooocon site.

the same thing happens with http://www.kiberpipa.org/~redduck666/nginx/bruc06.org

You need to add

location / { proxy_pass http://127.0.0.1:81; + proxy_set_host Host $host; }