fixed middleware definition typo

This commit is contained in:
Bryan Joshua Pedini 2022-08-16 09:51:38 +02:00
parent fb5b47da0a
commit a435eae93d

View File

@ -31,7 +31,7 @@ services:
# specify a custom middleware for nextcloud-specific configuration # specify a custom middleware for nextcloud-specific configuration
- traefik.http.middlewares.nextcloud-redirectregex.redirectRegex.permanent=true - traefik.http.middlewares.nextcloud-redirectregex.redirectRegex.permanent=true
- traefik.http.middlewares.nextcloud-redirectregex.redirectRegex.regex="https://(.*)/.well-known/(card|cal)dav" - traefik.http.middlewares.nextcloud-redirectregex.redirectRegex.regex="https://(.*)/.well-known/(card|cal)dav"
- traefik.http.middlewares.nextcloud-redirectregex.redirectRegex.replace="https://$${1}/remote.php/dav/" - traefik.http.middlewares.nextcloud-redirectregex.redirectRegex.replacement="https://$${1}/remote.php/dav/"
- traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=nextcloud-redirectregex - traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=nextcloud-redirectregex
networks: networks:
- internal - internal