Okay, I just switched from an apache install with mod_ruid and php to an nginx install with php-fpm, now I was wondering how to secure this properly.
My old configuration with mod_ruid just had every site setup as a different linux user, and apache would run under this user when a request was made, and php also ran under this user.
However I have now switched to nginx and I'm kind of clueless as of how to run it properly, nginx needs to have access to all files and atm the files are all 700 or less, how would I set this up properly.
Another problem that's slightly unrelated I guess is that PHP-FPM apparently needs a pool of php processes for every user/group I run it under, is it possible to make em all use the same pool and just switch when needed ?