mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-05-01 11:32:28 +00:00
Changes log filenames from ID to (first) domain
This commit is contained in:
parent
fd30cfe98b
commit
4b8164e14b
@ -7,8 +7,8 @@ server {
|
|||||||
{% include "_hsts.conf" %}
|
{% include "_hsts.conf" %}
|
||||||
{% include "_forced_ssl.conf" %}
|
{% include "_forced_ssl.conf" %}
|
||||||
|
|
||||||
access_log /data/logs/dead-host-{{ id }}_access.log standard;
|
access_log /data/logs/dead-host-{{ domain_names | first }}_access.log standard;
|
||||||
error_log /data/logs/dead-host-{{ id }}_error.log warn;
|
error_log /data/logs/dead-host-{{ domain_names | first }}_error.log warn;
|
||||||
|
|
||||||
{{ advanced_config }}
|
{{ advanced_config }}
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@ proxy_set_header Connection $http_connection;
|
|||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
access_log /data/logs/proxy-host-{{ id }}_access.log proxy;
|
access_log /data/logs/proxy-host-{{ domain_names | first }}_access.log proxy;
|
||||||
error_log /data/logs/proxy-host-{{ id }}_error.log warn;
|
error_log /data/logs/proxy-host-{{ domain_names | first }}_error.log warn;
|
||||||
|
|
||||||
{{ advanced_config }}
|
{{ advanced_config }}
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ server {
|
|||||||
{% include "_hsts.conf" %}
|
{% include "_hsts.conf" %}
|
||||||
{% include "_forced_ssl.conf" %}
|
{% include "_forced_ssl.conf" %}
|
||||||
|
|
||||||
access_log /data/logs/redirection-host-{{ id }}_access.log standard;
|
access_log /data/logs/redirection-host-{{ domain_names | first }}_access.log standard;
|
||||||
error_log /data/logs/redirection-host-{{ id }}_error.log warn;
|
error_log /data/logs/redirection-host-{{ domain_names | first }}_error.log warn;
|
||||||
|
|
||||||
{{ advanced_config }}
|
{{ advanced_config }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user