In other words I would like my own index.html to load at www.example.com and not nextclouds index.php in the nextcloud directory.
I had this working on a previous install but not sure what to change. I’m using nginx and php8.1
No nothing helped, I think the problem is in /etc/nginx/conf.d/nextcloud.conf
There is allot of rewrite stuff that I don’t understand in that config file. like this for instance: