Only "read only" on httpd.conf , redirection to https


After installing nextcloud 13 with a snap I want to edit the httpd.conf to set the redirecting from http to https.

I start vi with sudo and the file /snap/nextcloud/5119/conf/httpd.conf. But it can’t edit the file, it is allways in read only mod.


Hello, anyone an idea?

Post output of

ls -lha /snap/nextcloud/5119/conf


Maybe a simple file permission thingy. Never touched snap, so i dont know eventual caveats.

sorry for the late answer. I’ll reinstall nextcloud and try again.