howto restart nginx code example Example 1: restart nginx sudo systemctl reload nginx Example 2: systemctl reload nginx systemctl reload nginx