2017-08-06 09:55:42 +00:00
|
|
|
defaultEntryPoints = ["https"]
|
|
|
|
|
2018-04-06 07:38:03 +00:00
|
|
|
rootCAs = [ """{{ .CertContent }}""" ]
|
2017-08-06 09:55:42 +00:00
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.https]
|
|
|
|
address = ":4443"
|
|
|
|
[entryPoints.https.tls]
|
|
|
|
[[entryPoints.https.tls.certificates]]
|
2017-11-09 11:16:03 +00:00
|
|
|
certFile = """{{ .CertContent }}"""
|
|
|
|
keyFile = """{{ .KeyContent }}"""
|
2017-08-06 09:55:42 +00:00
|
|
|
|
|
|
|
|
2018-01-11 08:46:03 +00:00
|
|
|
[api]
|
2017-08-06 09:55:42 +00:00
|
|
|
|
|
|
|
[file]
|
|
|
|
|
|
|
|
[backends]
|
|
|
|
[backends.backend1]
|
|
|
|
[backends.backend1.servers.server1]
|
|
|
|
url = "https://127.0.0.1:{{ .GRPCServerPort }}"
|
|
|
|
|
|
|
|
|
|
|
|
[frontends]
|
|
|
|
[frontends.frontend1]
|
|
|
|
backend = "backend1"
|
|
|
|
[frontends.frontend1.routes.test_1]
|
|
|
|
rule = "Host:127.0.0.1"
|