33 lines
653 B
TOML
33 lines
653 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[serversTransport.forwardingTimeouts]
|
|
idleConnTimeout = "{{ .IdleConnTimeout }}"
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":8000"
|
|
|
|
[api]
|
|
|
|
[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
|