WebDAV server or OwnCloud on OSMC?

I use Nextcloud on my OSMC box behind an nginx SSL reverse proxy and then use the “External Storage” plugin for Nextcloud to add my NAS to Nextcloud. You must use the external storage app, don’t point the Nextcloud installation directly to the media as you then won’t be able to add anything to it via any other means.