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

multiple toml file not recognised for [file] backend #2194

Closed
raja-jamwal opened this issue Oct 1, 2017 · 2 comments
Closed

multiple toml file not recognised for [file] backend #2194

raja-jamwal opened this issue Oct 1, 2017 · 2 comments

Comments

@raja-jamwal
Copy link

raja-jamwal commented Oct 1, 2017

I have simple toml configuration file

defaultEntryPoints = ["http"]
logLevel = "DEBUG"
debug = true
[entryPoints]
  [entryPoints.http]
  address = ":80"

[file]
 directory = "/etc/traefik/rules.d/"
 watch = true

the toml files inside rules.d/ are not recognised nor loaded, I am using latest docker build of traefik. If I use filename instead of directory, it works.

@ldez
Copy link
Member

ldez commented Oct 1, 2017

Thanks for your interest 👍

  1. I suppose you are using 1.3.8 (please respect issue template when you open an issue)
  2. the support of directory come with 1.4 (Allow file provider to load service config from files in a directory. #1672)

@didasy
Copy link

didasy commented Dec 5, 2017

I am using v1.4.4, it doesn't work too.

EDIT: scratch that, it works

@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants