From f759088ddedfbcd9f26e945cd5037aa418005823 Mon Sep 17 00:00:00 2001 From: dpeca Date: Sat, 2 Jun 2018 01:48:41 +0200 Subject: [PATCH] Changing /var/log/httpd/ to /var/log/%web_system%/ (debian9 http2.tpl) --- install/debian/9/templates/web/nginx/http2.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/debian/9/templates/web/nginx/http2.tpl b/install/debian/9/templates/web/nginx/http2.tpl index c1fec114..4d5c774b 100644 --- a/install/debian/9/templates/web/nginx/http2.tpl +++ b/install/debian/9/templates/web/nginx/http2.tpl @@ -1,14 +1,14 @@ server { listen %ip%:%proxy_port%; server_name %domain_idn% %alias_idn%; - error_log /var/log/httpd/domains/%domain%.error.log error; + error_log /var/log/%web_system%/domains/%domain%.error.log error; location / { proxy_pass http://%ip%:%web_port%; location ~* ^.+\.(%proxy_extentions%)$ { root %docroot%; - access_log /var/log/httpd/domains/%domain%.log combined; - access_log /var/log/httpd/domains/%domain%.bytes bytes; + access_log /var/log/%web_system%/domains/%domain%.log combined; + access_log /var/log/%web_system%/domains/%domain%.bytes bytes; expires max; try_files $uri @fallback; }