update
This commit is contained in:
parent
7e83402484
commit
f65efc99db
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue