Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WebSocket connection to 'ws://<ip>/sockjs/250/yxiptcqa/websocket' failed: Error during WebSocket handshake: 'Connection' header value must contain 'Upgrade'
- server_tokens off;
- map $http_upgrade $connection_upgrade {
- default upgrade;
- '' close;
- }
- server {
- listen 80;
- location / {
- proxy_pass http://localhost:3000;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection $connection_upgrade;
- proxy_set_header X-Forwarded-For $remote_addr;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement