Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An effortless HTTP reverse proxy for node

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE-MIT
Octocat-spinner-32 README.md
Octocat-spinner-32 index.coffee
Octocat-spinner-32 package.json
README.md

axle

An effortless HTTP reverse proxy for node

Installation

npm install -g axle

Usage

Run the axle server. This should run on the port you want all your web traffic to pass through.

$ PORT=8000 axle

or

$ 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

License

Copyright (c) 2012 Matt Insler
Licensed under the MIT license.

Something went wrong with that request. Please try again.