diff --git a/docker-compose.yml b/docker-compose.yml index a0c1c3d..43b75c4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: