diff --git a/cluster/apps/networking/traefik/middlewares/plex-redirect.yaml b/cluster/apps/networking/traefik/middlewares/plex-redirect.yaml index 502368ee3..e7ee32899 100644 --- a/cluster/apps/networking/traefik/middlewares/plex-redirect.yaml +++ b/cluster/apps/networking/traefik/middlewares/plex-redirect.yaml @@ -5,6 +5,6 @@ metadata: namespace: networking spec: redirectRegex: - regex: "^(http|https)://${SECRET_DOMAIN}/" - replacement: "https://${SECRET_DOMAIN}/web/" + regex: "^(http|https)://(.*).${SECRET_DOMAIN}/" + replacement: "https://(.*).${SECRET_DOMAIN}/web/" permanent: true \ No newline at end of file