Alexandr,
As of right now we are only using the configuration for one of our customers
in beta and nginx is not giving any errors. Before we migrate more
customers onto the platform we wanted to get a better idea of the
hypothetical ramifications of having such a large config file. What are the
best practices for config files and what could go wrong if we have a large
number of hosts configured onto one nginx server each with a lot of
conditions?
Thanks,
Rami
Date: Wed, 6 Jul 2011 22:41:49 +0300
From: Alexandr Gomoliako <zzz@zzz.org.ua>
To: nginx@nginx.org
Subject: Re: nginx.conf File too Large
Message-ID:
<CAKb9G9g8vk-SK-i328mWmzrTEmybVNTNH4uLe5ONOf73thqELA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On 7/6/11, Rami Essaid <rami.essaid@gmail.com> wrote:
> We are trying to use nginx as a reverse proxy for a large number of sites
> and putting up a lot of rules to direct and traffic for each host. Is
there
> a number of hosts ({server}) that would be too many for a single nginx
> instance to support? At what point does the configuration file get too
large
> and start bogging down the nginx server? Currently each host takes up
about
> 150 lines, and we are looking to put in 25+ hosts onto each server. I
wanted
> to know if this realistic?
It doesn't sound like an nginx problem. Nginx usually suggests what to
change if it hits the limit. Can you show us the exact error message?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx