Splits access and error logs for each host

This commit is contained in:
chaptergy
2021-05-30 20:14:35 +02:00
parent d16bf7d6c0
commit deca493912
7 changed files with 14 additions and 11 deletions

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 }}