traefik/integration/fixtures/retry/simple.toml
2019-04-15 11:14:05 +02:00

36 lines
682 B
TOML

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
logLevel = "DEBUG"
[entryPoints]
[entryPoints.web]
address = ":8000"
[api]
[providers]
[providers.file]
[http.routers]
[http.routers.router1]
Service = "service1"
Middlewares = [ "retry" ]
Rule = "PathPrefix(`/`)"
[http.middlewares.retry.Retry]
Attempts = 3
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
[[http.services.service1.LoadBalancer.Servers]]
URL = "http://{{.WhoamiEndpoint}}:8080"
Weight = 1
[[http.services.service1.LoadBalancer.Servers]]
URL = "http://{{.WhoamiEndpoint}}:80"
Weight = 1