Commit cd5645e4 authored by Falko Timme's avatar Falko Timme
Browse files

- Make sure the nginx user is added to the group of a new website.

parent 63b36943
......@@ -567,7 +567,7 @@ class nginx_plugin {
}
//* 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']));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment