I copied the nextcloud folder to my /var/www/html/ then i ran the strong permission script since all permissions were root:root. Restart nginx and test in curl. I get a http 200 so i test in browser and i get the Cannot write into “config” directory!
Permissions
http://paste.ubuntu.com/19932124/
http://paste.ubuntu.com/19932023/