Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set subpath via traefik #1130

Open
BeauTaapken opened this issue Dec 12, 2024 · 1 comment
Open

Set subpath via traefik #1130

BeauTaapken opened this issue Dec 12, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@BeauTaapken
Copy link

Is your feature request related to a problem? Please describe.
Currently, it seems impossible to set a subpath (like /tdarr) via traefik.

Describe the solution you'd like
Either documentation for traefik on how to setup traefik with a subpath for tdarr specifically, as I have tried multiple different middleware setups to mitigate the issue and it hasn't worked, or somewhere in the Tdarr ui to set a "base-url" like possible in sonarr and radarr

Describe alternatives you've considered
Using traefiks built in middlewares, but i cannot seem to get the page to load properly when doing this. I've tried doing it as the https://docs.tdarr.io/docs/installation/extra#using-a-base-path-with-tdarr-webui page mentioned, but the IP of the machine that tdarr is running on changes on a daily basis and i cannot change this fact.

@BeauTaapken
Copy link
Author

BeauTaapken commented Dec 12, 2024

my current docker compose labels are
- "traefik.enable=true" - "traefik.http.routers.tdarr.rule=Host(MyDomain) && PathPrefix(/tdarr)" - "traefik.http.routers.tdarr.service=tdarr" - "traefik.http.routers.tdarr.middlewares=tdarr-strip" - "traefik.http.middlewares.tdarr-strip.stripprefix.prefixes=/tdarr" - "traefik.http.routers.tdarr.entrypoints=https" - "traefik.http.routers.tdarr.tls=true" - "traefik.http.services.tdarr.loadbalancer.server.port=8265"

@HaveAGitGat HaveAGitGat added the documentation Improvements or additions to documentation label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants