An effortless HTTP reverse proxy for node
npm install -g axle
Run the axle server. This should run on the port you want all your web traffic to pass through.
$ PORT=8000 axle
$ sudo PORT=80 axle
Then run your node servers the way you usually would, but with
axle before them.
$ axle caboose server
To specify a domain or multiple domains you would like to route to this server, use the
AXLE_DOMAINS environment variable.
This is a comma separated list of domains.
$ AXLE_DOMAINS=*.mattinsler.com,code.mattinsler.dev axle caboose server
Copyright (c) 2012 Matt Insler
Licensed under the MIT license.