traefik/integration/fixtures/retry/simple.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

32 lines
621 B
TOML

[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