traefik/integration/fixtures/timeout/forwarding_timeouts.toml
SALLEYRON Julien 9ebe3c38b2 New rule syntax
Co-authored-by: jbdoumenjou <jb.doumenjou@gmail.com>
2019-01-30 16:24:07 +01:00

43 lines
786 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