Http proxy server with auto-reload and static file serving

npm install door
7 downloads in the last week
28 downloads in the last month


Minimalistic HTTP proxy server with config auto-reloading and static file serving.


$ npm install -g door


Create a configuration file:

  "*": "localhost:3000",
  "": "localhost:3001",
  "": "localhost:3002",
  "": "/home/azer/sites/"

And start the server on :8000:

$ door config.json

To change the port number:

$ door config.json -p 80

No need to restart the server after changes. It watches the config file for changes and updates its proxy table (if no error occurred) automatically.

Wanna run it as a daemon on the background?

$ shell-jobs -d

npm loves you