Skip to content

jackruss/freeway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freeway

A reverse proxy webserver

Freeway has the following configuration settings that are stored in a couchdb document called settings.

{
  "default": "http://internal.server.com", // your internal servers or load balancers
  "tokens": ["foo", "bar", "baz"]
}

Any request that comes into the server without a token in the header that matches the configured tokens will bounce to the default server. Any request that comes into the server with a matching token will bounce to the host header in the request.

Install

npm install freeway -g

Usage

create config json file - config.json

{
  "datastore": "http://localhost:5984/freeway"
}
freeway 8080

Logging

All logs are currently going to stdout, if you use forever you can also configure this.

About

nodejs proxy and reverse proxy with web admin

Resources

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors