Question

I'm trying to deploy a node.js with socket.io app on Webbynode but all I'm seeing is "Welcome to socket.io." when I try to access the app in the browser. Its running on a Nginx webserver.

I see someone else here had a similar problem but I am referencing socket.io correctly :

<script src="/socket.io/socket.io.js"></script>

The app runs fine on my testing environment

Any ideas of what I could be doing wrong?

Thanks!

Was it helpful?

Solution

Nginx doesn't support HTTP 1.1, Websockets, read more here: http://blog.mixu.net/2011/08/13/nginx-websockets-ssl-and-socket-io-deployment/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top