traefik/integration/fixtures/grpc/config.toml

30 lines
567 B
TOML
Raw Normal View History

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]]
certFile = """{{ .CertContent }}"""
keyFile = """{{ .KeyContent }}"""
2017-08-06 09:55:42 +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 }}"
2018-04-11 14:30:04 +00:00
weight = 1
2017-08-06 09:55:42 +00:00
[frontends]
[frontends.frontend1]
backend = "backend1"
[frontends.frontend1.routes.test_1]
rule = "Host:127.0.0.1"