Leverage Consul and Nginx to easily route traffic
367
Leverage Consul and Nginx to easily router traffic
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
Connection to consul is configured with environmental variables:
CONSUL_HOST: where to find consulCONSUL_ACL: ACL to use to connect to consulPut certs /security named public.pem and private.pem.
All traffic on 80 will be redirected to 443.
You can get free certificates from ZeroSSL.
Create routes in consul with the source being the key and target being the value.
Content type
Image
Digest
Size
17.9 MB
Last updated
about 8 years ago
docker pull beverts312/simple-endpoint-manager