News for hackers. Stuff that matters.
Re:WebSocket proxy support added to nginx trunk by jabr on Monday February 18, 2013 @10:18PM (#5242390)
WebSockets are persistent connections, not a state-management trick spanning multiple connections/requests. The only time nginx is involved in "routing" the socket is on the initial connection. Once established, nginx is simply relaying data over an active, persistent TCP/unix sockets.

For the initial connection, you can use any of nginx's normal proxy load balancing options (ip_hash, least_conn, etc).

There are no comments on this comment yet.