From cd5645e4676308d1ac32a0c539e5d699845df27a Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Sun, 25 Sep 2011 17:05:58 -0400 Subject: [PATCH] - Make sure the nginx user is added to the group of a new website. --- server/plugins-available/nginx_plugin.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/plugins-available/nginx_plugin.inc.php b/server/plugins-available/nginx_plugin.inc.php index 9a05891..07c0332 100644 --- a/server/plugins-available/nginx_plugin.inc.php +++ b/server/plugins-available/nginx_plugin.inc.php @@ -567,7 +567,7 @@ } //* add the nginx user to the client group - $app->system->add_user_to_group($groupname, escapeshellcmd($web_config['user'])); + $app->system->add_user_to_group($groupname, escapeshellcmd($web_config['nginx_user'])); $this->_exec('chown '.$username.':'.$groupname.' '.escapeshellcmd($data['new']['document_root'])); -- Gitblit v1.9.1