Store host logs in subfolders

This commit is contained in:
chaptergy
2021-06-29 20:40:36 +02:00
parent bd3a13b2a5
commit fae848bd1b
5 changed files with 10 additions and 10 deletions

View File

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