|
|
@@ -1,11 +1,11 @@
|
|
|
server {
|
|
|
- listen %ip%:%proxy_port%;
|
|
|
+ listen %ip%:%proxy_ssl_port%;
|
|
|
server_name %domain_idn% %alias_idn%;
|
|
|
server_name_in_redirect off;
|
|
|
- #error_log /var/log/httpd/domains/%domain%.error.log error;
|
|
|
+ %elog%error_log /var/log/httpd/domains/%domain%.error.log error;
|
|
|
|
|
|
location / {
|
|
|
- proxy_pass http://%ip%:%web_port%;
|
|
|
+ proxy_pass http://%ip%:%web_ssl_port%;
|
|
|
|
|
|
location ~* ^.+\.(%extentions%)$ {
|
|
|
root %docroot%;
|
|
|
@@ -22,11 +22,12 @@ server {
|
|
|
}
|
|
|
|
|
|
location @fallback {
|
|
|
- proxy_pass http://%ip%:%web_port%;
|
|
|
+ proxy_pass http://%ip%:%web_ssl_port%;
|
|
|
}
|
|
|
|
|
|
location ~ /\.ht {deny all;}
|
|
|
location ~ /.svn/ {deny all;}
|
|
|
|
|
|
- Include %home%/%user%/conf/%domain%.nginx.*
|
|
|
+ include %home%/%user%/conf/%domain%.nginx.*;
|
|
|
}
|
|
|
+
|