Re:HTTPS-Portal: Automated HTTPS server powered by Nginx, Le...
by mathnmusic on Friday September 14, 2018 @08:41AM
(#17986754)
Is it possible for me to dynamically configure Traefik for non-Docker environments? I would like to run a Traefik instance which acts as a https-proxy for arbitrary domains,hosts and ports - without having to restart at all.
[ Parent
| on HN ]
Re:HTTPS-Portal: Automated HTTPS server powered by Nginx, Le...
by tylerjl on Friday September 14, 2018 @03:07PM
(#17989957)
As long as you're using one of the dynamic backends that Traefik hooks into, such as Consul for example, you can do this pretty easily.
I do this exact thing with Traefik, Consul, and some various miscellaneous services that don't fall under the dynamically-discovered umbrella when they might run under k8s or nomad. I write a value to Consul with the desired Host: match, a backend server to route requests to, and Traefik will handle routing to any backend server it can reach without restarts or interrupting service.