404 on fresh NGINX install when trying to acces

Hey Guys,today I installed and switched to nginx. Some things are working (for example two of my .html sites) but when I try to access my.domain.com/nextcloud it redirects to https://my.domain.com/nextcloud/index.php/login and there it errors out with 404 Not Found. My config in sites-enabled/nextcloud.conf. it is following the official unofficial nginx config published here My nextcloud folder is in /var/www/html/nextcloud. I hope for any help or advice! Thanks in advance