From 9d3abb4b23a9b835863c1f0c430716fa6e5c8d74 Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Tue, 25 Jul 2023 12:20:58 +0200 Subject: [PATCH] Add carddav and caldav redirect --- .docker/nginx/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.docker/nginx/nginx.conf b/.docker/nginx/nginx.conf index 66600735..174efc10 100644 --- a/.docker/nginx/nginx.conf +++ b/.docker/nginx/nginx.conf @@ -31,6 +31,12 @@ http { location = /favicon.ico { access_log off; log_not_found off; } location = /robots.txt { access_log off; log_not_found off; } error_page 404 /index.php; + location = /.well-known/carddav { + return 301 $scheme://$host/dav; + } + location = /.well-known/caldav { + return 301 $scheme://$host/dav; + } location ~ /\.ht { deny all; }