traefik/integration/fixtures/log_rotation_config.toml
Julien Salleyron 4a68d29ce2 Add a new protocol
Co-authored-by: Gérald Croës <gerald@containo.us>
2019-03-14 09:30:04 +01:00

46 lines
1.1 KiB
TOML

################################################################
# Global configuration
################################################################
[accessLog]
filePath = "access.log"
[log]
filePath = "traefik.log"
logLevel = "ERROR"
[entrypoints]
[entrypoints.web]
address = ":8000"
[entrypoints.api]
address = ":7888"
checkNewVersion = false
################################################################
# Api configuration backend
################################################################
[api]
entryPoint = "api"
################################################################
# File configuration backend
################################################################
[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"
Weight = 1