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 <glenux@glenux.net>
This commit is contained in:
parent
a4467929c0
commit
c0b9a682ac
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue