fixed nextcloud-specific middleware definition
This commit is contained in:
parent
f8b7ad6cb4
commit
fb5b47da0a
@ -31,7 +31,8 @@ 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.replace="https://$${1}/remote.php/dav/"
|
||||||
|
- traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=nextcloud-redirectregex
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
- traefik
|
- traefik
|
||||||
|
Loading…
Reference in New Issue
Block a user