NextCloudPi var/www access for wordpress site

I had Nextcloud running on Ubuntu server on a pi. It crashed after an update so I did a fresh install on nextcloudpi. My issue is the var/www I had write access to before in SSH and now I do not. How can I fix this or gain access to change the index.html to what I want.

So by default the NextCloudPi will load on the main domain. How can I change the NextCloudPi to load on instead of on the I would like to have my own index.html to load 1st.
I can not edit the 001-nextcloud.conf as its unwriteable