Add websocket headers

master
Sijmen Schoon 5 years ago
parent 3e6cac0210
commit 17ed7b42c4
No known key found for this signature in database
GPG Key ID: DAF7821E067D9C48
  1. 3
      frontend/nginx.conf

@ -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";
} }
} }

Loading…
Cancel
Save