This commit is contained in:
2023-09-12 16:25:52 +02:00
parent 5b4bc9ca01
commit 1860f04994
2 changed files with 116 additions and 116 deletions

View File

@@ -9,7 +9,7 @@ metadata:
spec:
redirectRegex:
permanent: true
regex: "https://(.*)/.well-known/(card|cal)dav"
regex: "https://([^\/]*)/.well-known/(card|cal)dav"
replacement: "https://$${1}/remote.php/dav/"
EOF
}
@@ -23,8 +23,8 @@ metadata:
labels: ${jsonencode(local.common-labels)}
spec:
redirectRegex:
permanent: true
regex: "https://(.*)/.well-known/(.*)"
replacement: "https://$${1}/index.php/$${2}"
permanent: false
regex: "https://([^\/]*)/.well-known/(.*)"
replacement: "https://$${1}/index.php/.well-known/$${2}"
EOF
}