Hello, Could you recommend how to config traefik dashboard in sub-path of main domain without sub-domain, f.e. domain.org/dashboard without redirect domain.org to domain.org/dashboard?
Thank you.
Traefik dashboard is always at /dashboard/
, but additionally needs /api
, that can’t be changed.
You can run it on your main domain:
rule=Host(`example.com`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))
Thank you for your attention, could you agree it will disable auto-redirect / to /dashboard, and I can to use / for other service, f.e. site (exclude conflict with traefik)?
Yes, you can have a different target service at /
, using rule Host()
without (or with different) PathPrefix()
.