From c0b9a682acf771b695d0fe4b51bba2935001e68c Mon Sep 17 00:00:00 2001 From: Glenn Date: Tue, 22 Apr 2025 09:58:41 +0200 Subject: [PATCH] feat(deployment): Add Dokku Nginx configuration for CalDAV and CardDAV Prevent potential issues with calendar and contact sync by redirecting well-known URLs. - Add rewrite rules for .well-known/carddav to redirect to remote.php/dav - Add rewrite rules for .well-known/caldav to redirect to remote.php/dav - Update README with instructions to add these rewrite rules in Dokku Nginx configuration Signed-off-by: Glenn --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index a42af71..35bd1a2 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,11 @@ Run after install ./occ config:system:set maintenance_window_start --type=integer --value=1 +Add this in dokku nginx + + rewrite ^/\.well-known/carddav https://$server_name/remote.php/dav/ permanent; + rewrite ^/\.well-known/caldav https://$server_name/remote.php/dav/ permanent; + Add this in crontab dokku enter cloud web su -l -s /bin/bash - www-data -c "cd html && php -dmemory_limit=-1 ./occ app:update --all"