File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 11server {
2- listen % ip% :80 ;
2+ listen % ip% :% proxy_port % ;
33 server_name % domain_idn% % alias% ;
44 server_name_in_redirect off;
55 #error_log /var/log/httpd/domains/% domain% .error.log error;
@@ -17,7 +17,7 @@ server {
1717 }
1818
1919 location = /error/ {
20- root % error_docroot % ;
20+ root % home % / % user % /domains/ % domain % /document_errors/ ;
2121 try_files $uri @fallback;
2222 }
2323
@@ -27,4 +27,6 @@ server {
2727
2828 location ~ /\.ht { deny all;}
2929 location ~ /.svn/ { deny all;}
30+
31+ Include %home%/%user%/conf/%domain%.nginx.*
3032}
Original file line number Diff line number Diff line change @@ -590,9 +590,9 @@ is_template_valid() {
590590 }
591591
592592 proxy_template () {
593- tpl=" $V_WEBTPL /ngingx_vhost- $template .tpl"
594- descr=" $V_WEBTPL /ngingx_vhost- $template .descr"
595- ssl=" $V_WEBTPL /ngingx_vhost- $template .ssl.tpl"
593+ tpl=" $V_WEBTPL /ngingx_vhost_ $template .tpl"
594+ descr=" $V_WEBTPL /ngingx_vhost_ $template .descr"
595+ ssl=" $V_WEBTPL /ngingx_vhost_ $template .ssl.tpl"
596596
597597 if [ ! -e $tpl ] || [ ! -e $descr ] || [ ! -e $ssl ]; then
598598 echo " Error: template not found"
You can’t perform that action at this time.
0 commit comments