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

43 lines
780 B
TOML

[log]
logLevel = "DEBUG"
[serversTransport.forwardingTimeouts]
dialTimeout = "300ms"
responseHeaderTimeout = "300ms"
[entryPoints]
[entryPoints.http]
address = ":8000"
[accessLog]
format = "json"
[api]
[providers]
[providers.file]
[Routers]
[Routers.router1]
Service = "service1"
Rule = "Path:/dialTimeout"
[Routers.router2]
Service = "service2"
Rule = "Path:/responseHeaderTimeout"
[Services]
[Services.service1]
[Services.service1.LoadBalancer]
[[Services.service1.LoadBalancer.Servers]]
URL = "http://50.255.255.1"
Weight = 1
[Services.service2]
[Services.service2.LoadBalancer]
[[Services.service2.LoadBalancer.Servers]]
URL = "http://{{.TimeoutEndpoint}}:9000"
Weight = 1