max virtualhosts

Ruslan Ermilov ru at nginx.com
Sat Mar 23 17:39:03 UTC 2013


On Sat, Mar 23, 2013 at 02:50:08PM +0400, Igor Sysoev wrote:
> On Mar 23, 2013, at 14:14 , Larry wrote:
> 
> > I was wondering, for the sake of curiosity, how many server blocks (virtual
> > hosts) nginx can afford ?
> > 
> > To the extreme : will 1000 server blocks will decrease nginx performances ?
> 
> No. Unless server_names are regular expressions.

To elaborate more on this, here's why:
http://nginx.org/en/docs/hash.html



More information about the nginx mailing list