mirror of
https://github.com/containous/traefik.git
synced 2024-12-23 17:34:13 +03:00
41 lines
840 B
TOML
41 lines
840 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[serversTransport]
|
|
rootCAs = [ """{{ .CertContent }}""" ]
|
|
|
|
[entryPoints]
|
|
[entryPoints.web-secure]
|
|
address = ":4443"
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[http.routers]
|
|
[http.routers.router1]
|
|
rule = "Host(`127.0.0.1`)"
|
|
service = "service1"
|
|
middlewares = ["retryer"]
|
|
[http.routers.router1.tls]
|
|
|
|
[http.middlewares]
|
|
[http.middlewares.retryer.retry]
|
|
Attempts = 2
|
|
|
|
[http.services]
|
|
[http.services.service1.loadbalancer]
|
|
[http.services.service1.loadbalancer.responseForwarding]
|
|
flushInterval="1ms"
|
|
[[http.services.service1.loadbalancer.servers]]
|
|
url = "https://127.0.0.1:{{ .GRPCServerPort }}"
|
|
|
|
[tlsStores.default.DefaultCertificate]
|
|
certFile = """{{ .CertContent }}"""
|
|
keyFile = """{{ .KeyContent }}"""
|