fix: typo in TOML for HTTP to HTTPS redirection
This commit is contained in:
parent
beceea9421
commit
855468e776
1 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue