traefik/integration/fixtures/timeout/keepalive.toml

34 lines
653 B
TOML
Raw Normal View History

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