2019-02-01 08:50:04 +00:00
|
|
|
[serversTransport]
|
|
|
|
rootCAs = [ """{{ .CertContent }}""" ]
|
|
|
|
|
2019-03-14 08:30:04 +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 }}"
|
|
|
|
weight = 1
|
2019-03-14 08:30:04 +00:00
|
|
|
|
|
|
|
[tlsStores.default.DefaultCertificate]
|
|
|
|
certFile = """{{ .CertContent }}"""
|
|
|
|
keyFile = """{{ .KeyContent }}"""
|