I have virtualhost with configuration less feature that works like a charm!<br><br> server {<br> server_name _;<br> set $host_without_www $host;<br> if ($host ~* www\.(.*)) {<br> set $host_without_www $1;<br>
}<br> root /var/www/$host_without_www/;<br> access_log logs/$host_without_www.log;<br><br>unfortunately, access_log donīt parses variables, so a file named $host_without_www.log<br>is created instead.<br>
<br>Thereīs any way to keep access logs separated by host, without need to configure one by one by hand?<br clear="all"><br>-- <br>Marcos Neves<br>+55 44 3263-8132<br>+55 44 9918-8488