Sign inSign up

beverts312/simple-endpoint-manager

By beverts312

•Updated about 8 years ago

Leverage Consul and Nginx to easily route traffic

Image
0

373

beverts312/simple-endpoint-manager repository overview

⁠Simple Endpoint Manager

docker build

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⁠.

⁠Routes

Create routes in consul with the source being the key and target being the value.

Tag summary

Content type

Image

Digest

Size

17.9 MB

Last updated

about 8 years ago

docker pull beverts312/simple-endpoint-manager