mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-05 14:32:11 +00:00
tweak /ui/ location
This commit is contained in:
parent
f651bf32a0
commit
8456878a5b
1 changed files with 3 additions and 4 deletions
|
@ -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 {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue