我有简单的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。如果我使用文件名而不是目录,它可以工作。
答案 0 :(得分:1)
我认为您使用的是1.3.8,directory
的支持来自1.4(https://github.com/containous/traefik/pull/1672)