diff --git a/docs/content/operations/dashboard.md b/docs/content/operations/dashboard.md index af1ce10587..c838f0afdc 100644 --- a/docs/content/operations/dashboard.md +++ b/docs/content/operations/dashboard.md @@ -93,12 +93,12 @@ rule = "Host(`traefik.example.com`)" ```bash tab="Path Prefix Rule" # The dashboard can be accessed on http://example.com/dashboard/ or http://traefik.example.com/dashboard/ -rule = "PathPrefix(`/api`) || PathPrefix(`/dashboard`)" +rule = "PathPrefix(`/api`, `/dashboard`)" ``` ```bash tab="Combination of Rules" # The dashboard can be accessed on http://traefik.example.com/dashboard/ -rule = "Host(`traefik.example.com`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))" +rule = "Host(`traefik.example.com`) && PathPrefix(`/api`, `/dashboard`)" ``` ??? example "Dashboard Dynamic Configuration Examples"