ws
This commit is contained in:
@@ -115,6 +115,14 @@ http {
|
||||
location / {
|
||||
proxy_pass http://develop.sprinthub.ru:3000/;
|
||||
}
|
||||
|
||||
location /api/live/ws {
|
||||
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:3000/api/live/ws;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
|
@@ -143,6 +143,14 @@ http {
|
||||
location / {
|
||||
proxy_pass http://dev.sprinthub.ru:3000/;
|
||||
}
|
||||
|
||||
location /api/live/ws {
|
||||
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:3000/api/live/ws;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
|
Reference in New Issue
Block a user