traefik/integration/fixtures/timeout/keepalive.toml
2019-09-06 15:08:04 +02:00

34 lines
671 B
TOML

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
level = "DEBUG"
[serversTransport.forwardingTimeouts]
idleConnTimeout = "{{ .IdleConnTimeout }}"
[entryPoints]
[entryPoints.web]
address = ":8000"
[api]
insecure = true
[providers.file]
filename = "{{ .SelfFilename }}"
## dynamic configuration ##
[http.routers]
[http.routers.router1]
service = "keepalive"
rule = "PathPrefix(`/keepalive`)"
[http.services]
[http.services.keepalive]
[http.services.keepalive.loadBalancer]
passHostHeader = true
[[http.services.keepalive.loadBalancer.servers]]
url = "{{ .KeepAliveServer }}"
weight = 1