Securing nginx: Workers per server block under specific user?

mex nginx-forum at
Mon Sep 2 07:06:17 UTC 2013

how do you execute your php? 

if you reverse proxying to an apache you might use suphp, as usual:

php-fpm has a similar option, as alex mentioned

if you really need to define workers for each server, run an nginx-instance
for each of
your websites; you can define an own user for each instance.

Posted at Nginx Forum:,242209,242444#msg-242444

More information about the nginx mailing list