fix: typo in TOML for HTTP to HTTPS redirection

This commit is contained in:
Krerkkiat Chusap 2019-09-23 04:30:04 -04:00 committed by Traefiker Bot
parent beceea9421
commit 855468e776

View file

@ -418,13 +418,13 @@ To apply a redirection, one of the redirect middlewares, [RedirectRegex](../midd
[http.routers.router0] [http.routers.router0]
rule = "Host(`foo.com`)" rule = "Host(`foo.com`)"
service = "my-service" service = "my-service"
entrypoints = "web" entrypoints = ["web"]
middlewares = ["redirect"] middlewares = ["redirect"]
[http.routers.router1] [http.routers.router1]
rule = "Host(`foo.com`)" rule = "Host(`foo.com`)"
service = "my-service" service = "my-service"
entrypoints = "web-secure" entrypoints = ["web-secure"]
[http.routers.router1.tls] [http.routers.router1.tls]
[http.services] [http.services]