This commit is contained in:
devdatt 2025-11-23 11:50:15 +05:30
parent 7e5abcdf77
commit d0f5bd437f
1 changed files with 4 additions and 4 deletions

View File

@ -313,10 +313,10 @@ http {
exec('sudo systemctl restart encoder-rtmp'); exec('sudo systemctl restart encoder-rtmp');
} else { } else {
error_log("Error Nginx default"); error_log("Error Nginx default");
exec('sudo cp /var/www/nginx.conf /etc/nginx/'); # exec('sudo cp /var/www/nginx.conf /etc/nginx/');
exec("sudo systemctl restart nginx"); # exec("sudo systemctl restart nginx");
exec('sudo systemctl stop encoder-rtmp'); # exec('sudo systemctl stop encoder-rtmp');
exec('sudo systemctl disable encoder-rtmp'); # exec('sudo systemctl disable encoder-rtmp');
} }
} { } {
} }