how to restart ngionx code example Example 1: restart nginx sudo systemctl reload nginx Example 2: systemctl reload nginx systemctl reload nginx