diff --git a/nextcloud.subdomain.conf.sample b/nextcloud.subdomain.conf.sample index 8ddbb4d..1517dd0 100644 --- a/nextcloud.subdomain.conf.sample +++ b/nextcloud.subdomain.conf.sample @@ -31,6 +31,14 @@ server { set $upstream_proto https; proxy_pass $upstream_proto://$upstream_app:$upstream_port; + location /.well-known/carddav { + return 301 $upstream_proto://$upstream_app/remote.php/dav; + } + + location /.well-known/caldav { + return 301 $upstream_proto://$upstream_app/remote.php/dav; + } + proxy_max_temp_file_size 2048m; } }