Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Daniel Tomcej <daniel.tomcej@gmail.com>
  • Loading branch information
2 people authored and traefiker committed Dec 9, 2019
1 parent c9fd834 commit 9ede11b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/content/providers/file.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ If you're in a hurry, maybe you'd rather go through the [dynamic configuration](

!!! warning "Limitations"

With the file provider, Traefik listen to the file system notifications to update the dynamic configuration.
With the file provider, Traefik listens for file system notifications to update the dynamic configuration.

If you use a mounted/binded file system in your orchestrator (like docker or kubernetes), the way the files are linked may be a source of errors.
If the link between the file systems is broken, when a source file/directory is changed/renamed, nothing will be reported to the linked file/directory, so the file system notifications will be neither triggered neither catched.
If you use a mounted/bound file system in your orchestrator (like docker or kubernetes), the way the files are linked may be a source of errors.
If the link between the file systems is broken, when a source file/directory is changed/renamed, nothing will be reported to the linked file/directory, so the file system notifications will be neither triggered nor caught.

For example, in docker, if the host file is renamed, the link with the mounted file will be broken and the container file will not be updated.
For example, in docker, if the host file is renamed, the link to the mounted file will be broken and the container's file will not be updated.
To avoid this kind of issue, a good practice is to:
* set the Traefik [**directory**](#directory) configuration with the parent directory
Expand Down

0 comments on commit 9ede11b

Please sign in to comment.