portainer

This commit is contained in:
Administrator 2022-09-22 23:54:26 +03:00
parent 3f4c1aee06
commit 9e883e8370
2 changed files with 16 additions and 0 deletions

View File

@ -45,6 +45,14 @@ http {
location / { location / {
proxy_pass http://develop.sprinthub.ru:8888/; proxy_pass http://develop.sprinthub.ru:8888/;
} }
location /api/websocket/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_pass http://develop.sprinthub.ru:8888/api/websocket/;
}
} }
server { server {

View File

@ -73,6 +73,14 @@ http {
location / { location / {
proxy_pass http://dev.sprinthub.ru:8888/; proxy_pass http://dev.sprinthub.ru:8888/;
} }
location /api/websocket/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_pass http://dev.sprinthub.ru:8888/api/websocket/;
}
} }
server { server {