File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
install/ubuntu/15.04/templates/web/nginx Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77 error_log /var/log/%web_system%/domains/%domain%.error.log error;
88
99 location / {
10- proxy_pass http ://%ip%:%web_port %;
10+ proxy_pass https ://%ip%:%web_ssl_port %;
1111
1212 proxy_cache cache;
1313 proxy_cache_valid 15m;
@@ -18,7 +18,7 @@ server {
1818
1919 location ~* ^.+\.(%proxy_extentions%)$ {
2020 proxy_cache off;
21- root %docroot %;
21+ root %sdocroot %;
2222 access_log /var/log/%web_system%/domains/%domain%.log combined;
2323 access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
2424 expires max;
@@ -31,7 +31,7 @@ server {
3131 }
3232
3333 location @fallback {
34- proxy_pass http ://%ip%:%web_port %;
34+ proxy_pass https ://%ip%:%web_ssl_port %;
3535 }
3636
3737 location ~ /\.ht {return 404;}
@@ -40,5 +40,5 @@ server {
4040 location ~ /\.hg/ {return 404;}
4141 location ~ /\.bzr/ {return 404;}
4242
43- include %home%/%user%/conf/web/nginx .%domain_idn%.conf*;
43+ include %home%/%user%/conf/web/snginx .%domain_idn%.conf*;
4444}
You can’t perform that action at this time.
0 commit comments