feat: nextcloud: redir carddav and caldav urls

main
LeRoyce Pearson 2024-01-06 23:41:24 -07:00
parent 8a4cb72f95
commit 7245d96672
1 changed files with 5 additions and 0 deletions

View File

@ -239,6 +239,11 @@
virtualHosts."nextcloud.samsehu.perli.casa".extraConfig = ''
bind 100.64.0.3 192.168.0.69
# https://docs.nextcloud.com/server/27/admin_manual/issues/general_troubleshooting.html#service-discovery
redir /.well-known/carddav /remote.php/dav 301
redir /.well-known/caldav /remote.php/dav 301
root * ${config.services.nextcloud.package}
php_fastcgi unix/${config.services.phpfpm.pools.nextcloud.socket} {
root ${config.services.nextcloud.package}