start up
Just click
nginx.exe under Nginx directory
Or cmd run start nginx
shut down
nginx -s stop or nginx -s quit
nginx stop means stop immediately, without saving information
quit indicates normal exit nginx, and save information
Reboot (because of changes in the configuration, you need to restart)
nginx -s reload
Reproduced in https://www.cnblogs.com/cheemon/p/5322425.html
The following is the supplement own learning
Administrator kill all processes nginx
taskkill /im nginx.exe -f
Success: the process has been terminated "nginx.exe", its PID is 5716.
Success: the process has been terminated "nginx.exe", its PID is 13976.
Success: the process has been terminated "nginx.exe", its PID is 8016.
Success: the process has been terminated "nginx.exe", its PID is 14168.
Success: the process has been terminated "nginx.exe", its PID is 12816.