Nextcloud is slow but should still be faster than Dropbox. Is it possible that your server hardware is not performant enough?

Otherwise, if you want to use WebDAV, Nginx or Apache will probably be faster. Although I don't think anyone ever done a benchmark but it's not hard to be faster than Nextcloud