Closed tianc0209 closed 4 months ago
Hello
dynamic_conf.yml
?traefik
: docker, k8s, standalone ?Thank you for your reply 1.the dynamic_conf.yml is a dynamic configuration file, in order to monitor configuration changes without restarting treafik, You could refer to this : https://doc.traefik.io/traefik/providers/file/#watch or https://doc.traefik.io/traefik/reference/dynamic-configuration/file/ , 2.In Docker Swarm mode
Thank you for your reply 1.the dynamic_conf.yml is a dynamic configuration file, in order to monitor configuration changes without restarting treafik, You could refer to this : https://doc.traefik.io/traefik/providers/file/#watch or https://doc.traefik.io/traefik/reference/dynamic-configuration/file/ , 2.In Docker Swarm mode
Ok, I worked only with K8s, so in K8s as soon as Middleware CRD changed - the plugins and other configuration is reloaded / restarted by Traefik itself.
Unfortunately, have no idea how it behaves in Docker Swarm, so my suggestion will be to restart Traefik. Since plugin itself can not enforce such behaviour.
I want to update the GeoIpDB , but after I change the new DB path in dynamic_conf.yml,but it seems doesn't work. Before:
After:
Do I have to restart traefik to take effect?