Guv's directory structure
-
Guv, Being a noob, I'm curious why you choose the directory structures:
/usr/local/nginx, and
/home/USERNAME/public_html/ for the CMS's.At least in the Drupal community, most folks seem to be using:
/etc/nginx, and
/var/www/Drupal/sitesI know you've got a good reason and I'm probably being dense for asking. But, I could use another "flat forehead moment" of enlightenment!
Thanks
Posted 1 year ago # -
hey Lee .. no right nor wrong, both are a matter of preference.
with the web directory though, it's a question of more easily managed security. to keep a human user's files together, web or otherwise, means they can be isolated more easily from other users and system files.
Posted 1 year ago # -
Of course, (hand just hit head) isolating the web directory under a user does make sense for managing security.
Thanks yet again!
Posted 1 year ago # -
Hi Olly
Well I'm on the orginal file structure:
/home/public_html/
Is there a security issue leaving that as it is, as I've a fair few sites running now on my wee VPS and changing all the files & settings would be a bit of a chore!
Cheers
Ben.Posted 1 year ago # -
Hi Ben .. well, you security concerns aren't with the directory structure, they're with the rights your users have over what files.
But yes, the new directory structure makes it ^easier^ to setup multiple human user accounts - and a bit easier to then jail user accounts - and that's why I changed it.
What human users do you have/plan to have?
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
