Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

figure out how to enable web sockets on ec2 #19

Open
therewasaguy opened this issue Sep 7, 2015 · 2 comments
Open

figure out how to enable web sockets on ec2 #19

therewasaguy opened this issue Sep 7, 2015 · 2 comments
Assignees

Comments

@therewasaguy
Copy link
Collaborator

socketio/socket.io#1942

@therewasaguy
Copy link
Collaborator Author

seems like we need to add this to nginx configuration, @jdiedrick think you could check it out?

location /wsapp/ {
    proxy_pass http://wsbackend;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
}

via https://www.nginx.com/blog/websocket-nginx/

another config example here
socketio/socket.io#1942 (comment)

@therewasaguy
Copy link
Collaborator Author

Not sure why this started working, only if you go to http://www.xn--vg8hjj.ws/mapb, but not without the www

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants