Nginx common start and stop commands

Both Windows and Linux need to open cmd in the Nginx root directory to execute the command.

View version:
nginx -v
Start nginx:
start nginx
Stop nginx quickly:
nginx -s stop
Exit nginx normally:
nginx -s quit
Restart nginx:
nginx -s reload

Guess you like

Origin blog.csdn.net/qq_40690077/article/details/130807708