Mixed Virtualhosts and IP hosts

Igor Sysoev is at rambler-co.ru
Sun Aug 31 10:35:54 MSD 2008

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.

Igor Sysoev

More information about the nginx mailing list