How to add path prefix to api endpoints?

Hi, i want to serve api and dashboard endpoints with a path prefix (e.g. /intra/traefik/api and /intra/traefik/dashboard) and protected by a forwardAuth middleware using our intranet's session cookie (with path /intra).

As this issue has been fixed, now i can serve dashboard with PathPrefix successfully in v2.1.0-rc2, but failed to load api endpoints (e.g. /api/overview /api/entrypoints)

It seems that these api endpoints' prefix is determined by enviroment APP_API (at build time?)

1 Like

+1

Also, the corresponding and valid Github issue has been closed by your bot. See https://github.com/containous/traefik/issues/5853. Please reopen to further discuss on Github.