traefik/integration/fixtures/log_rotation_config.toml
2019-06-05 22:18:06 +02:00

37 lines
710 B
TOML

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
filePath = "traefik.log"
level = "ERROR"
[accessLog]
filePath = "access.log"
[entryPoints]
[entryPoints.web]
address = ":8000"
[entryPoints.api]
address = ":7888"
[api]
entryPoint = "api"
[providers]
[providers.file]
################################################################
# rules
################################################################
[http.routers]
[http.routers.router1]
Service = "service1"
Rule = "Path(`/test1`)"
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
[[http.services.service1.LoadBalancer.Servers]]
URL = "http://127.0.0.1:8081"