You know that by default, servers like nginx and apache use standard directories for sites. Like "public_html", "www". And I noticed that on multi-user setups the sites are placed in the user's home directory
/home/username/public_html
I have such a setup, with nginx and php-fpm, and I want to have a custom directory holding all the sites, outside of the owner's home directory, like
/sites/www.example.org/
Is this a bad idea? Is there any advantage of using the home dir instead?
Obviously I would chown each sitedir so it belongs to the associated user.