ws
This commit is contained in:
parent
47c829ca20
commit
755d2c3366
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user