how to turn off nginx server code example Example 1: restart nginx sudo systemctl reload nginx Example 2: systemctl reload nginx systemctl reload nginx