16 messages in ru.sysoev.nginxRe: Mixed Virtualhosts and IP hosts
FromSent OnAttachments
DavidAug 30, 2008 8:02 pm 
mikeAug 30, 2008 8:18 pm 
Igor SysoevAug 30, 2008 11:34 pm 
Igor SysoevAug 30, 2008 11:35 pm 
mikeAug 30, 2008 11:58 pm 
Igor SysoevAug 31, 2008 12:17 am 
Igor SysoevAug 31, 2008 12:22 am 
mikeAug 31, 2008 12:29 am 
Igor SysoevAug 31, 2008 12:30 am 
mikeAug 31, 2008 12:31 am 
mikeAug 31, 2008 12:37 am 
Scott LarsonAug 31, 2008 12:59 am 
mikeAug 31, 2008 1:18 am 
Scott LarsonAug 31, 2008 1:52 am 
mikeAug 31, 2008 1:58 am 
DavidAug 31, 2008 6:13 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: Mixed Virtualhosts and IP hostsActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Aug 30, 2008 11:35:31 pm
List:ru.sysoev.nginx

On Sat, Aug 30, 2008 at 08:19:11PM -0700, mike wrote:

i think you only need one http {} for each specific http "instance"

you can have hundreds of server {} blocks inside of http {} - based on the Host: header will answer. i only have one http {} block for hundreds of sites. if nginx is listening on all interfaces it will use the same instance.

i do have a second http {} block for a mogilefs webdav server, only because of the separate http configuration needed.

I never tried several http {} blocks, and I'm not sure that it will work correctly.