Skip to content

Commit 56c317d

Browse files
committed
All logs in single folder
nginx cannot create the folder structure for logs
1 parent b7b150a commit 56c317d

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

backend/templates/dead_host.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ server {
77
{% include "_hsts.conf" %}
88
{% include "_forced_ssl.conf" %}
99

10-
access_log /data/logs/dead_host-{{ id }}/access.log standard;
11-
error_log /data/logs/dead_host-{{ id }}/error.log warn;
10+
access_log /data/logs/dead-host-{{ id }}_access.log standard;
11+
error_log /data/logs/dead-host-{{ id }}_error.log warn;
1212

1313
{{ advanced_config }}
1414

backend/templates/default.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ server {
1212
#listen [::]:80;
1313
{% endif %}
1414
server_name default-host.localhost;
15-
access_log /data/logs/default_host/access.log combined;
16-
error_log /data/logs/default_host/error.log warn;
15+
access_log /data/logs/default-host_access.log combined;
16+
error_log /data/logs/default-host_error.log warn;
1717
{% include "_exploits.conf" %}
1818

1919
{%- if value == "404" %}

backend/templates/letsencrypt-request.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ server {
88

99
server_name {{ domain_names | join: " " }};
1010

11-
access_log /data/logs/letsencrypt_requests/access.log standard;
12-
error_log /data/logs/letsencrypt_requests/error.log warn;
11+
access_log /data/logs/letsencrypt-requests_access.log standard;
12+
error_log /data/logs/letsencrypt-requests_error.log warn;
1313

1414
include conf.d/include/letsencrypt-acme-challenge.conf;
1515

backend/templates/proxy_host.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ proxy_set_header Connection $http_connection;
1919
proxy_http_version 1.1;
2020
{% endif %}
2121

22-
access_log /data/logs/proxy_host-{{ id }}/access.log proxy;
23-
error_log /data/logs/proxy_host-{{ id }}/error.log warn;
22+
access_log /data/logs/proxy-host-{{ id }}_access.log proxy;
23+
error_log /data/logs/proxy-host-{{ id }}_error.log warn;
2424

2525
{{ advanced_config }}
2626

backend/templates/redirection_host.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ server {
99
{% include "_hsts.conf" %}
1010
{% include "_forced_ssl.conf" %}
1111

12-
access_log /data/logs/redirection_host-{{ id }}/access.log standard;
13-
error_log /data/logs/redirection_host-{{ id }}/error.log warn;
12+
access_log /data/logs/redirection-host-{{ id }}_access.log standard;
13+
error_log /data/logs/redirection-host-{{ id }}_error.log warn;
1414

1515
{{ advanced_config }}
1616

0 commit comments

Comments
 (0)