I’m about to setup NextCloud on a fresh install of Raspian 10 (Buster) on a Raspberry Pi 4 B. I’ve worked through the process of getting Apache2 and SSL working. I know my virtual host directory will be /var/www/[mydomain].com/public_html. I’m wondering if I should put the main NextCloud directory within public_html? If so, then it would be accessed via [mydomain].com/nextcloud? Also, the User:Group that owns the nextcloud directory (and everything in it) should be www-data:www-data with permissions of +755?
Thanks for any help. I want to keep this as simple and clean as possible.