proxy-node

0.0.2 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i proxy-node

Weekly Downloads

2

Version

0.0.2

License

none

Last publish

Collaborators

  • dpweb