Completely close nginx service in window10

Completely close the nginx service under windows

1. Open the cmd window in the nginx directory

2. Run the command: start nginx to start the nginx service

3. Run the command: nginx -s stop to stop the nginx service (you can’t stop it by running the command, so you can only use more violent methods)

4. Run the command: taskkill /f /t /im nginx.exe to close other nginx services so that they can be shut down completely.

5. If it still cannot be killed, directly find the nginx process and kill the process.
 

Guess you like

Origin blog.csdn.net/qq_56444564/article/details/135008063