mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 07:22:34 +00:00
Fix filemanager permissions (#508)
* Fix filemanager permissions * fix filemanager permissions * fix tests warning
This commit is contained in:
@ -26,7 +26,7 @@ public function install(): void
|
||||
view('ssh.services.webserver.nginx.nginx', [
|
||||
'user' => $this->service->server->getSshUser(),
|
||||
]),
|
||||
true
|
||||
'root'
|
||||
);
|
||||
|
||||
$this->service->server->systemd()->restart('nginx');
|
||||
@ -83,7 +83,7 @@ public function createVHost(Site $site): void
|
||||
view('ssh.services.webserver.nginx.vhost', [
|
||||
'site' => $site,
|
||||
]),
|
||||
true
|
||||
'root'
|
||||
);
|
||||
|
||||
$this->service->server->ssh()->exec(
|
||||
@ -108,7 +108,7 @@ public function updateVHost(Site $site, ?string $vhost = null): void
|
||||
$vhost ?? view('ssh.services.webserver.nginx.vhost', [
|
||||
'site' => $site,
|
||||
]),
|
||||
true
|
||||
'root'
|
||||
);
|
||||
|
||||
$this->service->server->systemd()->restart('nginx');
|
||||
|
Reference in New Issue
Block a user