nextcloud caldav/carddav

This commit is contained in:
jojo
2024-07-06 17:00:19 +02:00
parent ede00b5f81
commit 2d78d3c423
3 changed files with 8 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.env

View File

@@ -9,7 +9,7 @@ services:
- env
app:
image: nextcloud:27
image: nextcloud
restart: always
ports:
- 50000:80

View File

@@ -13,6 +13,12 @@ server {
}
location /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot