error_log and $host?

wolfenstock nginx-forum at
Sun Jul 26 20:05:45 MSD 2009

hrm...  I do not think the $hosts variable is bad.  You use it to give your existing domain hierarchy an error log in that folder for that domain. This is what I have for the access_log.  Without the working $host in the error_log I would have to separately write each domain again to put it in it's subfolder.  Not very productive.

Posted at Nginx Forum:,4467,4471#msg-4471

More information about the nginx mailing list