File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 99 include /home/%user %/conf/web/webdav-%user %.%domain%/nginx.forcessl.conf*;
1010
1111 location / {
12- proxy_pass http ://127.0.0.1 :%port%;
12+ proxy_pass http ://%ip% :%port%;
1313 location ~ * ^.+\.(jpg|jpeg|webp|gif|png|ico|svg|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|odt|ods|odp|odf|tar|wav|bmp|rtf|js|mp3|avi|mpeg|flv|html|htm|woff|woff2|ttf)$ {
1414 root /home/%user %/web;
1515 access_log /var/log/apache2/domains/webdev-%user %.%domain%.log combined;
@@ -24,7 +24,7 @@ server {
2424 }
2525
2626 location @fallback {
27- proxy_pass http ://127.0.0.1 :%port%;
27+ proxy_pass http ://%ip% :%port%;
2828 }
2929
3030 location ~ /\.(?!well-known\/|file) {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ server {
1818 include /home/%user%/conf/web/webdav-%user%.%domain%/nginx.hsts.conf*;
1919
2020 location / {
21- proxy_pass http://127.0.0.1 :%port%;
21+ proxy_pass http://%ip% :%port%;
2222 location ~* ^.+\.(jpg|jpeg|webp|gif|png|ico|svg|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|odt|ods|odp|odf|tar|wav|bmp|rtf|js|mp3|avi|mpeg|flv|html|htm|woff|woff2|ttf)$ {
2323 root /home/%user%/web;
2424 access_log /var/log/apache2/domains/webdav-%user%.%domain%.log combined;
@@ -33,7 +33,7 @@ server {
3333 }
3434
3535 location @fallback {
36- proxy_pass https://127.0.0.1 :%port%;
36+ proxy_pass https://%ip% :%port%;
3737 }
3838
3939 location ~ /\.(?!well-known\/|file) {
You can’t perform that action at this time.
0 commit comments