File tree Expand file tree Collapse file tree 7 files changed +14
-11
lines changed Expand file tree Collapse file tree 7 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 7
7
{% include "_hsts.conf" %}
8
8
{% include "_forced_ssl.conf" %}
9
9
10
- access_log /data/logs/dead_host-{{ id }}.log standard;
10
+ access_log /data/logs/dead-host-{{ id }}_access.log standard;
11
+ error_log /data/logs/dead-host-{{ id }}_error.log warn;
11
12
12
13
{{ advanced_config }}
13
14
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ server {
12
12
#listen [::]:80;
13
13
{% endif %}
14
14
server_name default-host.localhost;
15
- access_log /data/logs/default_host.log combined;
15
+ access_log /data/logs/default-host_access.log combined;
16
+ error_log /data/logs/default-host_error.log warn;
16
17
{% include "_exploits.conf" %}
17
18
18
19
{%- if value == "404" %}
Original file line number Diff line number Diff line change 8
8
9
9
server_name {{ domain_names | join: " " }};
10
10
11
- access_log /data/logs/letsencrypt-requests.log standard;
11
+ access_log /data/logs/letsencrypt-requests_access.log standard;
12
+ error_log /data/logs/letsencrypt-requests_error.log warn;
12
13
13
14
include conf.d/include/letsencrypt-acme-challenge.conf;
14
15
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ proxy_set_header Connection $http_connection;
19
19
proxy_http_version 1.1;
20
20
{% endif %}
21
21
22
-
23
- access_log /data/logs/proxy_host- {{ id }}.log proxy ;
22
+ access_log /data/logs/proxy-host-{{ id }}_access.log proxy;
23
+ error_log /data/logs/proxy-host- {{ id }}_error .log warn ;
24
24
25
25
{{ advanced_config }}
26
26
Original file line number Diff line number Diff line change 9
9
{% include "_hsts.conf" %}
10
10
{% include "_forced_ssl.conf" %}
11
11
12
- access_log /data/logs/redirection_host-{{ id }}.log standard;
12
+ access_log /data/logs/redirection-host-{{ id }}_access.log standard;
13
+ error_log /data/logs/redirection-host-{{ id }}_error.log warn;
13
14
14
15
{{ advanced_config }}
15
16
Original file line number Diff line number Diff line change 8
8
set $port "80";
9
9
10
10
server_name localhost-nginx-proxy-manager;
11
- access_log /data/logs/default .log standard;
11
+ access_log /data/logs/fallback-access .log standard;
12
12
error_log /dev/null crit;
13
13
include conf.d/include/assets.conf;
14
14
include conf.d/include/block-exploits.conf;
@@ -29,7 +29,7 @@ server {
29
29
set $port "443";
30
30
31
31
server_name localhost;
32
- access_log /data/logs/default .log standard;
32
+ access_log /data/logs/fallback-access .log standard;
33
33
error_log /dev/null crit;
34
34
ssl_certificate /data/nginx/dummycert.pem;
35
35
ssl_certificate_key /data/nginx/dummykey.pem;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ worker_processes auto;
9
9
# Enables the use of JIT for regular expressions to speed-up their processing.
10
10
pcre_jit on;
11
11
12
- error_log /data/logs/error.log warn ;
12
+ error_log /data/logs/fallback- error.log warn ;
13
13
14
14
# Includes files with directives to load dynamic modules.
15
15
include /etc/nginx/modules/*.conf;
46
46
log_format proxy '[$time_local ] $upstream_cache_status $upstream_status $status - $request_method $scheme $host "$request_uri " [Client $remote_addr ] [Length $body_bytes_sent ] [Gzip $gzip_ratio ] [Sent-to $server ] "$http_user_agent " "$http_referer "' ;
47
47
log_format standard '[$time_local ] $status - $request_method $scheme $host "$request_uri " [Client $remote_addr ] [Length $body_bytes_sent ] [Gzip $gzip_ratio ] "$http_user_agent " "$http_referer "' ;
48
48
49
-
50
- access_log /data/logs/default.log proxy;
49
+ access_log /data/logs/fallback-access.log proxy;
51
50
52
51
# Dynamically generated resolvers file
53
52
include /etc/nginx/conf.d/include/resolvers.conf;
You can’t perform that action at this time.
0 commit comments