Add carddav and caldav redirect

This commit is contained in:
Philipp Lang 2023-07-25 12:20:58 +02:00
parent 0c5a3cd27d
commit 9d3abb4b23
1 changed files with 6 additions and 0 deletions

View File

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