mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 21:25:13 +00:00
Apply nginx reverse proxy to terminado's 7878 websocket
This commit is contained in:
@ -12,6 +12,13 @@ server {
|
||||
proxy_set_header Connection "Upgrade";
|
||||
}
|
||||
|
||||
location = /terminal {
|
||||
proxy_pass http://127.0.0.1:${TFW_TERMINADO_PORT};
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
location = /login {
|
||||
proxy_pass http://127.0.0.1:${TFW_LOGIN_APP_PORT};
|
||||
}
|
||||
|
Reference in New Issue
Block a user