Verify that the configuration (nginx.conf) is correct:
nginx -t
Check the version number of Nginx:
nginx -V
Start Nginx:
start nginx
Quickly stop or shut down Nginx:
nginx -s stop
Stop or shut down Nginx normally:
nginx -s quit
Configuration file modification and reload command:
nginx -s reload