今更だけどもnginxをリバプロに使ってsocket.ioを動かす方法を覚書。 nginx_tcp_proxy_module If you’re using nginx, you won’t be able to proxy web socket connections using the standard nginx proxy_pass directives. Fortunately, Weibin Yao has developed a tcp proxy module for nginx that allows you to reverse proxy general tcp connections, especially well suited for websockets. http://www.letseehere.com/reverse-proxy-web-sockets