matttah Apprentice
Joined: 22 Jan 2005 Posts: 207
|
Posted: Thu Oct 07, 2010 7:19 pm Post subject: nginx+spawn-cgi+swtiching user at run time |
|
|
We are switching over from apache to nginx this week. And we have everything set except we cannot figure out how to get it so that the PHP executes as different users depending on the domain. For example mysite.com should run as user mysite where as othersite.com should run as user othersite. In my setup the are both different server declarations. When we used Apache we did this by SuExecUserGroup setting. What is the best way to do this with nginx?
Thanks,
Daum |
|