https://github.com/beverts312/simple-endpoint-manager
Leverage Consul and Nginx to easily route traffic
https://github.com/beverts312/simple-endpoint-manager
consul docker nginx routing
Last synced: about 2 months ago
JSON representation
Leverage Consul and Nginx to easily route traffic
- Host: GitHub
- URL: https://github.com/beverts312/simple-endpoint-manager
- Owner: beverts312
- Created: 2018-05-29T02:48:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-11T07:05:20.000Z (about 8 years ago)
- Last Synced: 2025-12-26T12:26:43.522Z (6 months ago)
- Topics: consul, docker, nginx, routing
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Endpoint Manager

[](https://microbadger.com/images/beverts312/simple-endpoint-manager)
[](https://microbadger.com/images/beverts312/simple-endpoint-manager)
Leverage Consul and Nginx to easily router traffic
## How to use it
Configure DNS for all the domains you want to the place where the nginx container is running
Tip: Use wildcard subdomains if you plan on using a bunch
#### Consul
Connection to consul is configured with environmental variables:
* `CONSUL_HOST`: where to find consul
* `CONSUL_ACL`: ACL to use to connect to consul
#### Certs
Put certs `/security` named `public.pem` and `private.pem`.
All traffic on `80` will be redirected to `443`.
You can get free certificates from [ZeroSSL](https://zerossl.com/).
#### Routes
Create routes in consul with the source being the key and target being the value.