Splits access and error logs for each host

This commit is contained in:
chaptergy committed 2021-06-18 09:38:48 +02:00
1 parent d16bf7d6c0
commit deca493912
7 files changed
+14 -11

No files matched your search

+2 -2
View File
@@ -19,8 +19,8 @@ proxy_set_header Connection $http_connection;
proxy_http_version 1.1;
{% endif %}
access_log /data/logs/proxy_host-{{ id }}.log proxy;
access_log /data/logs/proxy-host-{{ id }}_access.log proxy;
error_log /data/logs/proxy-host-{{ id }}_error.log warn;
{{ advanced_config }}