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

Max maxbear at gmail.com
Wed Feb 18 15:24:00 MSK 2009


Yes, I am currently using catchall as well. But all virtaul host hogs going
to one big log file. I am using 0.633. I can't use something like
path/$host.access.log  main; to have seperate log files.

On Wed, Feb 18, 2009 at 4:22 PM, Olivier Bonvalet <mailinglist at daevel.fr>wrote:

> I use a "catchall" setup.
>
> Joe a écrit :
>
>> I also put all virtual host conf into nginx, separate them on
>> virtual.conf.
>>
>> On Wed, Feb 18, 2009 at 12:22 PM, Max <maxbear at gmail.com <mailto:
>> 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/20090218/1a5c8d5d/attachment.html>


More information about the nginx mailing list