traefik/integration/fixtures/retry/simple.toml

35 lines
641 B
TOML
Raw Normal View History

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
level = "DEBUG"
[entryPoints]
[entryPoints.web]
address = ":8000"
[api]
[providers]
[providers.file]
2018-11-14 09:18:03 +00:00
[http.routers]
[http.routers.router1]
2018-11-14 09:18:03 +00:00
Service = "service1"
Middlewares = [ "retry" ]
Rule = "PathPrefix(`/`)"
2018-11-14 09:18:03 +00:00
[http.middlewares.retry.Retry]
Attempts = 3
2018-11-14 09:18:03 +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://{{.WhoamiEndpoint}}:8080"
[[http.services.service1.LoadBalancer.Servers]]
2018-11-14 09:18:03 +00:00
URL = "http://{{.WhoamiEndpoint}}:80"