Anybody was able to make traefik works with docmost using pathprefix ?
to be clear traefik with docmost is working with sub-domains but since i am using tailscale to access my traefik reverse-proxy i don't have access to sub-domains (i think) . so everything is working with tailscale even https, but using pathprefix and stripprefix it is not working with docmost.
the problem is probably on docmost side but just wondering if somebody experienced this problem
Usually GUI web apps don’t like to be placed on a path, they expect to be root. It only works when some kind of "base path" can be set within the application.
The reason is that html pages include links and load further dependencies. Those are usually with absolute paths. The initial page will load with /docmost
using PathPrefix()
and stripPrefix
, but included /static/script.js
request will not be matched by router rule and never reach the correct target service.
So this is a specific application question, you probably find an answer easier in a dedicated application forum.
Thank you ! i appreciate.
i changed my approach and use a different entrypoint with a specific port for my docmost service and it is working