Skip to content

Commit f759088

Browse files
authored
Changing /var/log/httpd/ to /var/log/%web_system%/ (debian9 http2.tpl)
1 parent 73a0b3f commit f759088

File tree

1 file changed

+3
-3
lines changed
  • install/debian/9/templates/web/nginx

1 file changed

+3
-3
lines changed

install/debian/9/templates/web/nginx/http2.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
server {
22
listen %ip%:%proxy_port%;
33
server_name %domain_idn% %alias_idn%;
4-
error_log /var/log/httpd/domains/%domain%.error.log error;
4+
error_log /var/log/%web_system%/domains/%domain%.error.log error;
55
66
location / {
77
proxy_pass http://%ip%:%web_port%;
88
location ~* ^.+\.(%proxy_extentions%)$ {
99
root %docroot%;
10-
access_log /var/log/httpd/domains/%domain%.log combined;
11-
access_log /var/log/httpd/domains/%domain%.bytes bytes;
10+
access_log /var/log/%web_system%/domains/%domain%.log combined;
11+
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
1212
expires max;
1313
try_files $uri @fallback;
1414
}

0 commit comments

Comments
 (0)