All logs in single folder

nginx cannot create the folder structure for logs
This commit is contained in:
chaptergy
2021-06-29 23:07:54 +02:00
parent b7b150a979
commit 56c317d223
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" %}