tweak /ui/ location

This commit is contained in:
t3chn0m4g3
2016-08-09 03:26:08 +00:00
parent f651bf32a0
commit 8456878a5b

View File

@ -117,16 +117,14 @@ server {
### ui-for-docker
location /ui {
proxy_pass http://localhost:64299;
proxy_pass http://127.0.0.1:64299;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "";
proxy_set_header Connection $http_connection;
proxy_set_header Host $host;
proxy_redirect off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
rewrite /ui/(.*)$ /$1 break;
}
### web tty
location /wetty {
proxy_pass http://127.0.0.1:64300/wetty;
@ -154,3 +152,4 @@ server {
}
}