nginx -t

after the test ran successful, I can restart the service/etc/init.d/nginx restart

or only reload the nignx site configs without a restartnginx -s reload