This commit is contained in:
devdatt 2026-02-09 19:49:14 +05:30
parent 7e83402484
commit f65efc99db
1 changed files with 1 additions and 1 deletions

View File

@ -1413,7 +1413,7 @@ http {
if ($status === 0) { if ($status === 0) {
exec("sudo systemctl restart nginx 2>&1", $o, $s); exec("sudo systemctl restart nginx 2>&1", $o, $s);
} else { } else {
exec('sudo cp /var/www/default_nginx.conf.conf /etc/nginx/nginx.conf'); exec('sudo cp /var/www/default_nginx.conf /etc/nginx/nginx.conf');
exec("sudo systemctl restart nginx"); exec("sudo systemctl restart nginx");
} }