2 messages in ru.sysoev.nginxRe: server_name not working as intend...
FromSent OnAttachments
Brice FigureauApr 24, 2007 6:35 am 
Igor SysoevApr 24, 2007 8:12 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: server_name not working as intended ?Actions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Apr 24, 2007 8:12:50 am
List:ru.sysoev.nginx

On Tue, Apr 24, 2007 at 03:36:22PM +0200, Brice Figureau wrote:

I'm discovering nginx, and it is a really good product. I'm willing to replace my old heavly patched thttpd with nginx, but I'm stumbling accross the following issue:

... http { access_log /var/log/nginx/access.log; server { listen 8095; server_name www.domain1.com; root /var/www/www.domain1.com; } server { listen 8095;

- listen 8095; + listen 8095 default;

server_name www.domain2.com *; root /var/www/www.domain2.com; } } ...