Nginx + php + fpm plug'n'play configuration
daniele.pignedoli at gmail.com
Fri Apr 1 18:14:40 MSD 2011
Hi guys, im new to Nginx.
Im running on a ubuntu 10.04 server machine, and im trying to understand how
to configure nginx in order to run a website with many subdomains, where
every of them must run php with a different user, without restarting nginx
Basically, when i need to a subdomain, i have a script that create the
server user, then his folder owned by him; for example, for the
foo.example.com subdomain i will have a `foo` user and a
So, for every requests to *.example.com, i need to:
1. check if user and folder exists
2. invoke fpm with the matching user/group (maybe the group will be the same
for every subdomain)
Any suggestion about?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx