Commit 57a24efd authored by Nim's avatar Nim
Browse files

Merge branch 'well-know-bis' into 'master'

[cloud] fix warning related to /.well-known/carddav and /.well-known/caldav [regression introduced by !51]

See merge request oxyta.net/docker-atelier!52
parents eda8bd5d 12cebd9c
......@@ -40,6 +40,9 @@ services:
labels:
traefik.enable: "true"
traefik.http.routers.cloud.rule: "Host(`${CHATONS_SERVICE:-cloud}.${CHATONS_DOMAIN:-localhost}`)"
traefik.http.middlewares.cloud.redirectregex.permanent: 'true'
traefik.http.middlewares.cloud.redirectregex.regex: 'http(s?)://(.*)/.well-known/(card|cal)dav'
traefik.http.middlewares.cloud.redirectregex.replacement: 'http$${1}://$${2}/remote.php/dav/'
traefik.http.middlewares.cloud.headers.customFrameOptionsValue: 'sameorigin'
networks:
- web
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment