traefik/integration/fixtures/log_rotation_config.toml

39 lines
732 B
TOML
Raw Normal View History

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
filePath = "traefik.log"
logLevel = "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]
2018-11-14 09:18:03 +00:00
Service = "service1"
Rule = "Path(`/test1`)"
2018-04-11 14:30:04 +00:00
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
2018-11-14 09:18:03 +00:00
[[http.services.service1.LoadBalancer.Servers]]
2018-11-14 09:18:03 +00:00
URL = "http://127.0.0.1:8081"
Weight = 1