how to start nginx server without terminal code example Example 1: restart nginx sudo systemctl reload nginx Example 2: nginx stop commands sudo systemctl stop nginx