Load balancing is outside the scope of node-http-proxy. Configuration of
load balancing algorithms is complex and least common denominator often
leads to problems with things that use in memory storage across connections
such as non-database sessions etc. There are multiple examples on npm and
Of course we can write a code snippet to redirect request to expected
server manually by node-http-proxy.
Based on https://github.com/nodejitsu/node-http-proxy/ examples, I just can
find snippet code to stick from proxy server to ONE nodejs (using websocket/
socket.io), I want redirecting from pro