Skip to content

Commit 96e3bad

Browse files
authored
Merge pull request hestiacp#9 from serghey-rodin/master
update from master
2 parents 2f3543c + 4363244 commit 96e3bad

File tree

2 files changed

+6
-6
lines changed

2 files changed

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

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)