traefik/integration/fixtures/grpc/config_retry.toml

42 lines
857 B
TOML
Raw Normal View History

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
level = "DEBUG"
2019-02-01 08:50:04 +00:00
[serversTransport]
rootCAs = [ """{{ .CertContent }}""" ]
[entryPoints]
[entryPoints.web-secure]
2019-02-01 08:50:04 +00:00
address = ":4443"
[api]
[providers]
[providers.file]
[http.routers]
[http.routers.router1]
2019-02-01 08:50:04 +00:00
rule = "Host(`127.0.0.1`)"
service = "service1"
middlewares = ["retryer"]
[http.routers.router1.tls]
2019-02-01 08:50:04 +00:00
[http.middlewares]
[http.middlewares.retryer.retry]
2019-02-01 08:50:04 +00:00
Attempts = 2
[http.services]
[http.services.service1.loadbalancer]
[http.services.service1.loadbalancer.responseForwarding]
2019-02-01 08:50:04 +00:00
flushInterval="1ms"
[[http.services.service1.loadbalancer.servers]]
2019-02-01 08:50:04 +00:00
url = "https://127.0.0.1:{{ .GRPCServerPort }}"
weight = 1
[tlsStores.default.DefaultCertificate]
certFile = """{{ .CertContent }}"""
keyFile = """{{ .KeyContent }}"""