I am asking for help as I'm trying to set up Traefik as a reverse proxy for Sonarr. The server is on the local network and Sonarr is normally reachable with the addres:
http://server.fritz.box:8989
I am trying to have sonarr reachable by following the path:
Thank you! it worked!
Hoiwever this only seems to work if the application I run is able to configure the "base URL path".
Other applications that are natively accessed in a fashion http://host.domain.com/ (like Netdata) does not allow to set the base path.
If I use: - "traefik.http.routers.netdata.rule=PathPrefix(/netdata)"
then I get a 404 as the service cannot find /netdata/index.html
I tried using - "traefik.http.middlewares.netdata-strip.stripprefix.prefixes=/netdata"
but then all the resources are not loaded.
I sense that the main request comes in a form http://host.domain.com/netdata but then the page refers all the other resources as /main.css, so traefik is receiving requests like: http://host.domain.com/main.css which is not present of course.
Is there any way to apply the /netdata to all the requests coming from that page?