Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File provider with dynamic configuration does not pickup changes from file watcher #1

Open
FSeidinger opened this issue May 4, 2023 · 1 comment

Comments

@FSeidinger
Copy link

FSeidinger commented May 4, 2023

Hey there,

I'm using the traefik snap on Ubuntu 22.04.02 LTS using the file provider configuration.

The static configuration I put into /etc/traefik/traefik.yml and the dynamic configuration is configured here as:

providers:
  file:
    directory: "/etc/traefik/conf.d"
    watch: true

The dynamic configuration is then picked up upon start, but the file watcher does not pick up changes to the files. After changing the dynamic configuration the snap has to be restarted manually in order to pick up changes.

Is there any way that this can be changed?

@FSeidinger FSeidinger changed the title File provider with dynamic configuration does pickup changes from file watcher File provider with dynamic configuration does not pickup changes from file watcher May 4, 2023
@ed10vi
Copy link
Contributor

ed10vi commented Jun 5, 2023

It is working for me with traefik 2.10.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants