Thanks for reply. However, our developer just notified us that the directory with root owner was created by a cron which ran by user root and created that issue though I've slightly modified nginx user directive with following :
former user www ; later user www www; Regards. Shahzaib On Wed, Dec 30, 2015 at 12:59 PM, wishmaster <artem...@ukr.net> wrote: > Hi, > > > > Hi, > > > > > > We've installed nginx + php-fpm on FreeBSD OS and both of them are > listening on www user / group. Here is the config : > > > > NGINX : > > > > user www ; > > > > > > > > PHP-FPM : > > > > > > [www] > > listen = /var/run/www.socket > > user = www > > group = www > > listen.owner = www > > listen.group = www > > listen.allowed_clients = 127.0.0.1 > > > > I think you have mistake in the owner ownership. > Below my config for nginx + php-fpm bundle.. > > ;;;;;;;;;;;;;;;;;;;;;;;; MY pool for Joomla CMS ;;;;;;;;;; > > [joomla1] > > user = www-joomla1 > group = www-joomla1 > listen = /var/run/php-fpm-joomla1.sock > > listen.owner = www-joomla1 > listen.group = www > listen.mode = 0660 > > > > > > _______________________________________________ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx