Greetings,
I'm currently working on an open source deployment stack that will work a bit like cpanel, but for nginx instead of apache. At the moment vhost files are separated into separate files. I want to give users the ability to edit their own vhosts files, but since it is a shared environment, I don't want them to be able to read other user data from their site. Is there any way to lock this down?
If you want to take a look at what I currently have setup, the deployment script is here: nginx.roottricks.com/install.sh
The source repo is here: https://github.com/Igknighted/miniature-ninja
Regards,
Sam