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"