Update traefik dashboard routing rules

Traefik uses the `/api` path for the internal api. For the dashboard to function, it needs to be routed, too.
This commit is contained in:
Tobias Kussel
2026-03-26 10:39:36 +01:00
committed by GitHub
parent bbda99254f
commit 80f1479818

View File

@@ -16,7 +16,7 @@ services:
- --entrypoints.web.http.redirections.entrypoint.scheme=https
labels:
- "traefik.enable=true"
- "traefik.http.routers.dashboard.rule=PathPrefix(`/dashboard/`)"
- "traefik.http.routers.dashboard.rule=PathPrefix(`/dashboard/`)||PathPrefix(`/api`)"
- "traefik.http.routers.dashboard.entrypoints=websecure"
- "traefik.http.routers.dashboard.service=api@internal"
- "traefik.http.routers.dashboard.tls=true"