Splits access and error logs for each host

This commit is contained in:
chaptergy
2021-05-30 20:14:35 +02:00
parent d16bf7d6c0
commit deca493912
7 changed files with 14 additions and 11 deletions

View File

@ -12,7 +12,8 @@ server {
#listen [::]:80;
{% endif %}
server_name default-host.localhost;
access_log /data/logs/default_host.log combined;
access_log /data/logs/default-host_access.log combined;
error_log /data/logs/default-host_error.log warn;
{% include "_exploits.conf" %}
{%- if value == "404" %}