Trying to fix redirects

This commit is contained in:
thepaperpilot 2023-09-23 00:15:59 -05:00
parent 343c52a052
commit 850b9704f4

View file

@ -176,8 +176,8 @@ services:
- traefik.http.routers.cinny.rule=Host(`cinny.incremental.social`) || Host(`chat.incremental.social`)
- traefik.http.routers.cinny.entrypoints=websecure
- traefik.http.routers.cinny.middlewares=cinny
- traefik.http.middlewares.cinny.redirectregex.regex=^https://cinny.incremental.social/(.*)
- traefik.http.middlewares.cinny.redirectregex.replacement=^https://chat.incremental.social/$${1}
- "traefik.http.middlewares.cinny.redirectregex.regex=^https://cinny.incremental.social/(.*)"
- "traefik.http.middlewares.cinny.redirectregex.replacement=^https://chat.incremental.social/$${1}"
- "traefik.http.middlewares.cinny.redirectscheme.permanent=true"
- traefik.http.routers.cinny.tls.certresolver=myresolver
volumes: