4a68d29ce2
Co-authored-by: Gérald Croës <gerald@containo.us>
30 lines
612 B
TOML
30 lines
612 B
TOML
[serversTransport]
|
|
rootCAs = [ """{{ .CertContent }}""" ]
|
|
|
|
[global]
|
|
debug = true
|
|
|
|
[entrypoints]
|
|
[entrypoints.web-secure]
|
|
address = ":4443"
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[http.routers]
|
|
[http.routers.router1]
|
|
rule = "Host(`127.0.0.1`)"
|
|
service = "service1"
|
|
[http.routers.router1.tls]
|
|
|
|
[http.services]
|
|
[http.services.service1.loadbalancer]
|
|
[[http.services.service1.loadbalancer.servers]]
|
|
url = "https://127.0.0.1:{{ .GRPCServerPort }}"
|
|
weight = 1
|
|
|
|
[tlsStores.default.DefaultCertificate]
|
|
certFile = """{{ .CertContent }}"""
|
|
keyFile = """{{ .KeyContent }}"""
|