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
or php5-fpm.
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
/var/www/vhosts/subdomains/foo/htdocs folder.
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?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx