The best way is to include separate config files using the include directive:<br><a href="http://wiki.codemongers.com/NginxHttpMainModule#include">http://wiki.codemongers.com/NginxHttpMainModule#include</a><br><br>Nick<br>
<br><div class="gmail_quote">On Tue, Feb 17, 2009 at 11:22 PM, Max <span dir="ltr">&lt;<a href="mailto:maxbear@gmail.com">maxbear@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>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&#39;s rather big. Just want to know what&#39;s the best practice to handle many virtual hosts. Thanks.<br>
<font color="#888888">
<br>Max <br>
</font></blockquote></div><br>