Add Nextcloud CardDav and CalDav for subdomain proxy

This commit is contained in:
Erriez 2021-02-15 20:04:04 +01:00
commit c875048489

View file

@ -31,6 +31,14 @@ server {
set $upstream_proto https; set $upstream_proto https;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; 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; proxy_max_temp_file_size 2048m;
} }
} }