[file]后端无法识别多个toml文件

时间:2017-10-01 10:36:17

标签: docker traefik

我有简单的toml配置文件

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

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

rules.d /中的toml文件无法识别或加载,我正在使用最新的docker build of traefik。如果我使用文件名而不是目录,它可以工作。

1 个答案:

答案 0 :(得分:1)

我认为您使用的是1.3.8,directory的支持来自1.4(https://github.com/containous/traefik/pull/1672