Running nextcloud through Nginx Proxy Manager requires some additional settings.




This last part is the most important because it make sure that the redirect for caldav and carddav works as intended.
client_body_buffer_size 512k;
proxy_read_timeout 86400s;
client_max_body_size 0;
location /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/webfinger {
return 301 $scheme://$host/index.php/.well-known/webfinger;
}
location /.well-known/nodeinfo{
return 301 $scheme://$host/index.php/.well-known/nodeinfo;
}
Be First to Comment