2019-04-09 15:24:05 +00:00
|
|
|
[global]
|
|
|
|
checkNewVersion = false
|
|
|
|
sendAnonymousUsage = false
|
|
|
|
|
|
|
|
[log]
|
2019-04-16 13:30:09 +00:00
|
|
|
level = "DEBUG"
|
2019-04-09 15:24:05 +00:00
|
|
|
|
2019-02-01 08:50:04 +00:00
|
|
|
[serversTransport]
|
|
|
|
rootCAs = [ """{{ .CertContent }}""" ]
|
|
|
|
|
2019-04-15 09:14:05 +00:00
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.web-secure]
|
2019-02-01 08:50:04 +00:00
|
|
|
address = ":4443"
|
|
|
|
|
|
|
|
[api]
|
|
|
|
|
|
|
|
[providers]
|
|
|
|
[providers.file]
|
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.routers]
|
|
|
|
[http.routers.router1]
|
2019-02-01 08:50:04 +00:00
|
|
|
rule = "Host(`127.0.0.1`)"
|
|
|
|
service = "service1"
|
|
|
|
middlewares = ["retryer"]
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.routers.router1.tls]
|
2019-02-01 08:50:04 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.middlewares]
|
|
|
|
[http.middlewares.retryer.retry]
|
2019-02-01 08:50:04 +00:00
|
|
|
Attempts = 2
|
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.services]
|
|
|
|
[http.services.service1.loadbalancer]
|
|
|
|
[http.services.service1.loadbalancer.responseForwarding]
|
2019-02-01 08:50:04 +00:00
|
|
|
flushInterval="1ms"
|
2019-03-14 08:30:04 +00:00
|
|
|
[[http.services.service1.loadbalancer.servers]]
|
2019-02-01 08:50:04 +00:00
|
|
|
url = "https://127.0.0.1:{{ .GRPCServerPort }}"
|
2019-03-14 08:30:04 +00:00
|
|
|
|
2019-06-27 21:58:03 +00:00
|
|
|
[tls.stores]
|
|
|
|
[tls.stores.default.DefaultCertificate]
|
2019-03-14 08:30:04 +00:00
|
|
|
certFile = """{{ .CertContent }}"""
|
|
|
|
keyFile = """{{ .KeyContent }}"""
|