nginx hot reload config code example Example 1: nginx reload config sudo service nginx reload Example 2: how to reload nginx config sudo nginx -s reload