4 ms·
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 arbit
by mathnmusic 8y ago
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.
- drewmol 8y agoI would ALSO like to run a Traefik instance which acts as a https-proxy for arbitrary domains,hosts and ports - without having to restart at all.
- fornowiamhere 8y agoYep, you can do that using the file backend: https://docs.traefik.io/configuration/backends/file https://docs.traefik.io/configuration/backends/file
- tylerjl 8y agoAs 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.