diff --git a/docker-compose.yml b/docker-compose.yml index 623c30a..f0a9ab8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,8 @@ services: # specify a custom middleware for nextcloud-specific configuration - 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.replace="https://${1}/remote.php/dav/" + - traefik.http.middlewares.nextcloud-redirectregex.redirectRegex.replace="https://$${1}/remote.php/dav/" + - traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=nextcloud-redirectregex networks: - internal - traefik