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]
|
||||
rule = "Host(`foo.com`)"
|
||||
service = "my-service"
|
||||
entrypoints = "web"
|
||||
entrypoints = ["web"]
|
||||
middlewares = ["redirect"]
|
||||
|
||||
[http.routers.router1]
|
||||
rule = "Host(`foo.com`)"
|
||||
service = "my-service"
|
||||
entrypoints = "web-secure"
|
||||
entrypoints = ["web-secure"]
|
||||
[http.routers.router1.tls]
|
||||
|
||||
[http.services]
|
||||
|
@ -967,4 +967,4 @@ Supported [providers](../providers/overview.md), for now:
|
|||
* Now, configuration elements can be referenced between different providers by using the provider namespace notation: `@<provider>`.
|
||||
For instance, a router named `myrouter` in a File Provider can refer to a service named `myservice` defined in Docker Provider with the following notation: `myservice@docker`.
|
||||
* Middlewares are applied in the same order as their declaration in router.
|
||||
* If you have any questions feel free to join our [community forum](https://community.containo.us).
|
||||
* If you have any questions feel free to join our [community forum](https://community.containo.us).
|
||||
|
|
Loading…
Reference in a new issue