Home > Article > Backend Development > window starts and shuts down nginx
Start
Directly click nginx.exe in the Nginx directory or cmd to run start nginx
Close
nginx -s stop or nginx -s quit
stop means to stop nginx immediately without saving relevant information
quit means normal Exit nginx and save relevant information
Restart (because the configuration has been changed, a restart is required)
nginx -s reload
The above introduces how to start and shut down nginx in window, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.