Fix overlays
This commit is contained in:
parent
a2ad5dd5a7
commit
da69a21100
@ -36,13 +36,18 @@ in {
|
||||
"traefik.http.routers.nextcloud.entrypoints" = "web-secure";
|
||||
"traefik.http.routers.nextcloud.rule" = "Host(`cloud.${HOST_DOMAIN}`)";
|
||||
"traefik.http.routers.nextcloud.tls" = "true";
|
||||
"traefik.http.routers.nextcloud.middlewares" = "sts_headers,nextcloud-caldav";
|
||||
"traefik.http.routers.nextcloud.middlewares" =
|
||||
"sts_headers,nextcloud-caldav";
|
||||
|
||||
"traefik.http.middlewares.nextcloud-caldav.redirectregex.permanent" = "true";
|
||||
"traefik.http.middlewares.nextcloud-caldav.redirectregex.regex" = "^https://(.*)/.well-known/(card|cal)dav";
|
||||
"traefik.http.middlewares.nextcloud-caldav.redirectregex.replacement" = "https://$\${1}/remote.php/dav/";
|
||||
"traefik.http.middlewares.nextcloud-caldav.redirectregex.permanent" =
|
||||
"true";
|
||||
"traefik.http.middlewares.nextcloud-caldav.redirectregex.regex" =
|
||||
"^https://(.*)/.well-known/(card|cal)dav";
|
||||
"traefik.http.middlewares.nextcloud-caldav.redirectregex.replacement" =
|
||||
"https://$\${1}/remote.php/dav/";
|
||||
"traefik.http.middlewares.sts_headers.headers.stsSeconds" = "15552000";
|
||||
"traefik.http.middlewares.sts_headers.headers.stsIncludeSubdomains" = "true";
|
||||
"traefik.http.middlewares.sts_headers.headers.stsIncludeSubdomains" =
|
||||
"true";
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user