If this is already the case, please share a few more details. What version of Nextcloud are you using, when you open the client, what do you see in the logfiles of Nextcloud and your webserver (there we can hopefully see what your client tries to access and why it fails).