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!

Était-ce utile?

La 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/

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top