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; }