Writes NGiNX reverse-proxy config files for multiple backends, based on data in etcd.
ALPHA VERSION - needs more tests
This program connects to the etcd configuration service and reads information about web apps. It builds a list of web apps, including each app's HTTP endpoints and virtual host names, then exports one Nginx reverse-proxy configuration file for each app.
The software then watches etcd for changes, updates the files as needed, and signals NGiNX (via PID file) to reload its configuration.
- Provides dynamic, virtual-host-based HTTP routing based on minimal config
Download the latest binary for your OS:
Put it wherever you like. Somewhere in your $PATH might ne handy.
This software was created by Benton Roberts ([email protected])
The project is still in its early stages.
-
Install Go.
-
Fetch the project code:
-
Run the tests:
cd $GOPATH/src/github.com/benton/etcd-nginx-config go build
-
Run the tests:
go test