sudo service nginx stop code example Example 1: ubuntn nginx restart sudo service nginx restart Example 2: systemctl reload nginx systemctl reload nginx