5
Traefik setup routing rules help
(self.homelab)
Sorry, can't help you. But as no other answered yet I was in a similar situation, gave up and used Caddy as a simpler reverse-proxy. But I don't know if it fits your needs.
Thanks, i'll look at Caddy. This seems super simple if I have a domain name and use prefixes on that, but with paths it gets complex.
You need to add a PathPrefix middleware that handles the static assets - try adding another router rule like traefik.http.routers.dndnotes-assets.rule=PathPrefix(
/dnd-notes/.client)
without the stripprefix middleware for those paths, or look into using the addPrefix middleware to rewrite the paths proprely.
homelab