Permission denied : Nnginx & PHP-FPM

I asked this once before but never got an answer.  I have a dedicated server set up with Nginx and PHP-FPM.  How should I set Nginx and PHP-FPM as far as user and group?  Should I create a new user and group for Nginx?  If so, what and config please.  I created a user and group for the web files.  When trying to run Nginx as that user, I get a config error and Nginx refuses to start.  I set PHP-FPM to run as that user and group and restarted PHP-FPM.

I have search the net without a lot of luck here so I am hoping the Nginx/PHP-FPM people here will help me.

Geeks, making the world a better place
Quote · 13 Dec 2012

OK, this was because of my lack of knowledge of configuring PHP-FPM; I did not have the user:group set properly in the config so of course PHP-FPM could not access the site files; permission denied because it did not have permission. There is a lot for me to learn; like understanding the "pools".

Geeks, making the world a better place
Quote · 13 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.