今更だけども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
![nginxでsocket.ioのリバースプロキシ設定 - tumblr](https://cdn-ak-scissors.b.st-hatena.com/image/square/049527595294765d99e600163db5ae28532e0a72/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fs%2Fshim0mura%2F20120119%2F20120119050122.png)