Skip to content

Commit

Permalink
Remove jellyfin redirect from / to /jellyfin
Browse files Browse the repository at this point in the history
(cherry picked from commit 05ea531)
  • Loading branch information
navilg committed Nov 27, 2023
1 parent 713d9fa commit b8fb66b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,16 +255,16 @@ services:
- 'traefik.http.middlewares.jellyfin-insecure-mw.redirectscheme.permanent=false'
- 'traefik.http.routers.jellyfin-insecure.service=noop@internal'

# redirect / to /jellyfin
# # redirect / to /jellyfin

- "traefik.http.routers.jellyfin-root.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.jellyfin-root.entrypoints=websecure"
- "traefik.http.routers.jellyfin-root.tls.certresolver=le"
# - "traefik.http.routers.jellyfin-root.rule=Host(`${DOMAIN}`)"
# - "traefik.http.routers.jellyfin-root.entrypoints=websecure"
# - "traefik.http.routers.jellyfin-root.tls.certresolver=le"

# the middleware 'jellyfin-root-mw' must be defined so that the regex rules can be attached to it
- "traefik.http.routers.jellyfin-root.middlewares=jellyfin-root-mw"
- "traefik.http.middlewares.jellyfin-root-mw.redirectregex.regex=^https:\\/\\/([^\\/]+)\\/?$$"
- "traefik.http.middlewares.jellyfin-root-mw.redirectregex.replacement=https://$$1/jellyfin"
# # the middleware 'jellyfin-root-mw' must be defined so that the regex rules can be attached to it
# - "traefik.http.routers.jellyfin-root.middlewares=jellyfin-root-mw"
# - "traefik.http.middlewares.jellyfin-root-mw.redirectregex.regex=^https:\\/\\/([^\\/]+)\\/?$$"
# - "traefik.http.middlewares.jellyfin-root-mw.redirectregex.replacement=https://$$1/jellyfin"

cleanmyarr:
depends_on:
Expand Down

0 comments on commit b8fb66b

Please sign in to comment.