From 855468e776e2a9a438b7ef91317b79860efbd2cc Mon Sep 17 00:00:00 2001 From: Krerkkiat Chusap Date: Mon, 23 Sep 2019 04:30:04 -0400 Subject: [PATCH] fix: typo in TOML for HTTP to HTTPS redirection --- docs/content/migration/v1-to-v2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/migration/v1-to-v2.md b/docs/content/migration/v1-to-v2.md index f8f0f391c..3ec4686ff 100644 --- a/docs/content/migration/v1-to-v2.md +++ b/docs/content/migration/v1-to-v2.md @@ -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: `@`. 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). \ No newline at end of file +* If you have any questions feel free to join our [community forum](https://community.containo.us).