2017-10-10 10:14:03 +00:00
|
|
|
defaultEntryPoints = ["https"]
|
|
|
|
|
|
|
|
InsecureSkipVerify = true
|
|
|
|
|
|
|
|
[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-10-10 10:14:03 +00:00
|
|
|
|
|
|
|
|
2018-01-11 08:46:03 +00:00
|
|
|
[api]
|
2017-10-10 10:14:03 +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"
|