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