From a7d7c2b98bd590c97e801debd5de45424ffbad9c Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 6 Dec 2019 02:42:04 +0300 Subject: [PATCH] Fix Docker example in "Strip and Rewrite Path Prefixes" in migration guide --- docs/content/migration/v1-to-v2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/migration/v1-to-v2.md b/docs/content/migration/v1-to-v2.md index 429eb7cc8..0ae0bbef5 100644 --- a/docs/content/migration/v1-to-v2.md +++ b/docs/content/migration/v1-to-v2.md @@ -560,8 +560,8 @@ with the path `/admin` stripped, e.g. to `http://:/`. In this case, yo ```yaml tab="Docker" labels: - "traefik.http.routers.admin.rule=Host(`company.org`) && PathPrefix(`/admin`)" + - "traefik.http.routers.admin.middlewares=admin-stripprefix" - "traefik.http.middlewares.admin-stripprefix.stripprefix.prefixes=/admin" - - "traefik.http.routers.web.middlewares=admin-stripprefix@docker" ``` ```yaml tab="Kubernetes IngressRoute"