Failed to connect to Nextcloud at (url), Server Replied "404 Not Found"

I’m trying to set up the nextcloud app on my PC after setting up my VPS, and it keeps saying it can’t connect.
I can connect to the domain just fine in my browser, and it works there, but the app refuses to connect.
I have an SSL certificate and HTTPS works.
image

You should check your Nextcloud configuration, because it seems that the rewrite rules are not correctly working. The displayed 404 error is correct because the status page is found under the following url on your server: https://cloud.carrionandon.me/status.php

Figured it out already, but thanks

@CarrionAndOn That’s fine, but could you please explain what you did to fix it. This will most likely help others running into the same problem, to solve it on their own.

I installed the snap version instead of the docker version and that fixed it.