Skip to content

Commit 31ef502

Browse files
committed
Fixed path for custom includes in caching template
1 parent 0463b12 commit 31ef502

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

install/debian/templates/web/nginx/caching.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ server {
4040
location ~ /\.hg/ {return 404;}
4141
location ~ /\.bzr/ {return 404;}
4242

43-
include %home%/%user%/conf/nginx.%domain%.conf*;
43+
include %home%/%user%/conf/web/nginx.%domain%.conf*;
4444
}

install/debian/templates/web/nginx/caching.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ server {
3737
location ~ /\.hg/ {return 404;}
3838
location ~ /\.bzr/ {return 404;}
3939

40-
include %home%/%user%/conf/nginx.%domain%.conf*;
40+
include %home%/%user%/conf/web/nginx.%domain%.conf*;
4141
}

install/rhel/templates/web/nginx/caching.stpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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 http://%ip%:%web_port%;
@@ -19,8 +19,8 @@ server {
1919
location ~* ^.+\.(%proxy_extentions%)$ {
2020
proxy_cache off;
2121
root %docroot%;
22-
access_log /var/log/httpd/domains/%domain%.log combined;
23-
access_log /var/log/httpd/domains/%domain%.bytes bytes;
22+
access_log /var/log/%web_system%/domains/%domain%.log combined;
23+
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
2424
expires max;
2525
try_files $uri @fallback;
2626
}
@@ -40,5 +40,5 @@ server {
4040
location ~ /\.hg/ {return 404;}
4141
location ~ /\.bzr/ {return 404;}
4242

43-
include %home%/%user%/conf/nginx.%domain%.conf*;
43+
include %home%/%user%/conf/web/nginx.%domain%.conf*;
4444
}

install/rhel/templates/web/nginx/caching.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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%;
@@ -16,8 +16,8 @@ server {
1616
location ~* ^.+\.(%proxy_extentions%)$ {
1717
proxy_cache off;
1818
root %docroot%;
19-
access_log /var/log/httpd/domains/%domain%.log combined;
20-
access_log /var/log/httpd/domains/%domain%.bytes bytes;
19+
access_log /var/log/%web_system%/domains/%domain%.log combined;
20+
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
2121
expires max;
2222
try_files $uri @fallback;
2323
}
@@ -37,5 +37,5 @@ server {
3737
location ~ /\.hg/ {return 404;}
3838
location ~ /\.bzr/ {return 404;}
3939

40-
include %home%/%user%/conf/nginx.%domain%.conf*;
40+
include %home%/%user%/conf/web/nginx.%domain%.conf*;
4141
}

install/ubuntu/templates/web/nginx/caching.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ server {
4040
location ~ /\.hg/ {return 404;}
4141
location ~ /\.bzr/ {return 404;}
4242

43-
include %home%/%user%/conf/nginx.%domain%.conf*;
43+
include %home%/%user%/conf/web/nginx.%domain%.conf*;
4444
}

install/ubuntu/templates/web/nginx/caching.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ server {
3737
location ~ /\.hg/ {return 404;}
3838
location ~ /\.bzr/ {return 404;}
3939

40-
include %home%/%user%/conf/nginx.%domain%.conf*;
40+
include %home%/%user%/web/conf/nginx.%domain%.conf*;
4141
}

0 commit comments

Comments
 (0)