proxy-node

Very small wrapper over http-proxy

npm install proxy-node
10 downloads in the last month

Small wrapper over http-proxy

I use this to run multiple domains/websites on a single server.
Each app listens on a different port. This does not control their configuration.

var servers = {
    'foo.com': '127.0.0.1:8001',
    'bar.com': '127.0.0.1:8002'
}

require('./proxy-node.js')(servers, 80)
npm loves you