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