Skip to content

Commit cd5645e

Browse files
committed
- Make sure the nginx user is added to the group of a new website.
1 parent 63b3694 commit cd5645e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ function update($event_name,$data) {
567567
}
568568

569569
//* add the nginx user to the client group
570-
$app->system->add_user_to_group($groupname, escapeshellcmd($web_config['user']));
570+
$app->system->add_user_to_group($groupname, escapeshellcmd($web_config['nginx_user']));
571571

572572
$this->_exec('chown '.$username.':'.$groupname.' '.escapeshellcmd($data['new']['document_root']));
573573

0 commit comments

Comments
 (0)