|
|
@ -22,5 +22,8 @@ server { |
|
|
|
|
|
|
|
|
|
|
|
location /socket.io { |
|
|
|
location /socket.io { |
|
|
|
proxy_pass http://api_upstream; |
|
|
|
proxy_pass http://api_upstream; |
|
|
|
|
|
|
|
proxy_pass_request_headers on; |
|
|
|
|
|
|
|
proxy_set_header Upgrade $http_upgrade; |
|
|
|
|
|
|
|
proxy_set_header Connection "upgrade"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|