Split nginx configuration to several files

This commit is contained in:
Kristóf Tóth
2018-01-31 17:51:45 +01:00
parent 0ec79fe8d0
commit c99630172b
4 changed files with 17 additions and 13 deletions

View File

@ -0,0 +1,3 @@
location = /login {
proxy_pass http://127.0.0.1:${TFW_LOGIN_APP_PORT};
}

View File

@ -0,0 +1,6 @@
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";
}