diff --git a/app/Factories/NginxVhostFactory.php b/app/Factories/NginxVhostFactory.php index ea08365..20b6905 100644 --- a/app/Factories/NginxVhostFactory.php +++ b/app/Factories/NginxVhostFactory.php @@ -151,7 +151,7 @@ class NginxVhostFactory system('php '.base_path().'/mcp lets-encrypt:add '.$email.' '.$vhost['domain']); if ($vhost['redirect_www'] === true) { - system('php '.base_path().' mcp lets-encrypt:add '.$email.' www.'.$vhost['domain']); + system('php '.base_path().'/mcp lets-encrypt:add '.$email.' www.'.$vhost['domain']); } });