File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed
debian/templates/web/nginx
ubuntu/templates/web/nginx Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 11server {
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}
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments