nginx status command ubuntu code example
Example 1: ubuntn nginx restart
sudo service nginx restart
Example 2: stop nginx server
sudo systemctl stop nginx
Example 3: systemctl reload nginx
systemctl reload nginx
sudo service nginx restart
sudo systemctl stop nginx
systemctl reload nginx