traefik/integration/fixtures/log_rotation_config.toml
2018-11-27 17:42:04 +01:00

46 lines
1.1 KiB
TOML

################################################################
# Global configuration
################################################################
[accessLog]
filePath = "access.log"
[log]
filePath = "traefik.log"
logLevel = "ERROR"
[entryPoints]
[entryPoints.http]
address = ":8000"
[entryPoints.api]
address = ":7888"
checkNewVersion = false
################################################################
# Api configuration backend
################################################################
[api]
entryPoint = "api"
################################################################
# File configuration backend
################################################################
[providers]
[providers.file]
################################################################
# rules
################################################################
[Routers]
[Routers.router1]
Service = "service1"
Rule = "Path: /test1"
[Services]
[Services.service1]
[Services.service1.LoadBalancer]
[[Services.service1.LoadBalancer.Servers]]
URL = "http://127.0.0.1:8081"
Weight = 1