Skip to content

Nginx and socket.io

Jxck edited this page Oct 14, 2012 · 3 revisions

NGINX does not support the websocket protocol yet. Because of this, only XHR and JSONP transports would work.

Although NGINX 1.2 includes support for HTTP 1.1 protocol, it still does not support proxying websockets. Support for websockets is planned for version 1.3.

In the meantime, you can use some node.js based proxy or generic proxy like HAProxy or Varnish.

check out https://github.com/yaoweibin/nginx_tcp_proxy_module it's 3rd party

Clone this wiki locally