Skip to content

Commit 4363244

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ server {
44
ssl on;
55
ssl_certificate %ssl_pem%;
66
ssl_certificate_key %ssl_key%;
7-
error_log /var/log/httpd/domains/%domain%.error.log error;
7+
error_log /var/log/%web_system%/domains/%domain%.error.log error;
88

99
location / {
1010
proxy_pass https://%ip%:%web_ssl_port%;
1111
location ~* ^.+\.(%proxy_extentions%)$ {
1212
root %sdocroot%;
13-
access_log /var/log/httpd/domains/%domain%.log combined;
14-
access_log /var/log/httpd/domains/%domain%.bytes bytes;
13+
access_log /var/log/%web_system%/domains/%domain%.log combined;
14+
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
1515
expires max;
1616
try_files $uri @fallback;
1717
}

0 commit comments

Comments
 (0)