Hello,<br><br>My conf file is something like this:<br><br> server {<br> listen <a href="http://12.12.12.1:80">12.12.12.1:80</a>;<br> listen <a href="http://12.12.12.2:80">12.12.12.2:80</a>;<br> listen <a href="http://12.12.12.3:80">12.12.12.3:80</a>;<br>
server_name _*;<br><br>All my sites are pointed to the same directory (I use wordpress and it allows you to have one installation for multiple sites).<br><br>The problem is I can have one access log only:<br><br> access_log path/host.access.log main;<br>
<br>Can I separate access log for different vhosts? Something like: access_log path/$host.access.log main; is it possible?<br><br>Thanks.<br><br>Max<br>Hello,<br><br>My conf file is something like this:<br><br> server {<br>
listen <a href="http://12.12.12.1:80">12.12.12.1:80</a>;<br> listen <a href="http://12.12.12.2:80">12.12.12.2:80</a>;<br> listen <a href="http://12.12.12.3:80">12.12.12.3:80</a>;<br> server_name _*;<br>
<br>All my sites are pointed to the same directory (I use wordpress and it allows you to have one installation for multiple sites).<br><br>The problem is I can have one access log only:<br><br> access_log path/host.access.log main;<br>
<br>Can I separate access log for different vhosts? Something like: access_log path/$host.access.log main; is it possible?<br><br>Thanks.<br><br>Max<br>