Do you put all your virtual host info in nginx.conf?

Nick Pearson nick.pearson at gmail.com
Wed Feb 18 08:31:13 MSK 2009


The best way is to include separate config files using the include
directive:
http://wiki.codemongers.com/NginxHttpMainModule#include

Nick

On Tue, Feb 17, 2009 at 11:22 PM, Max <maxbear at gmail.com> wrote:

> Hello,
>
> Do you put all your virtual host info in nginx.conf? Since I got a lot of
> virtual hosts, if I put all of them into nginx.conf, I found it's rather
> big. Just want to know what's the best practice to handle many virtual
> hosts. Thanks.
>
> Max
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090217/585591c7/attachment.html>


More information about the nginx mailing list