Nginx-- commonly used commands

Nginx commonly used commands

Use Nginx operation command precondition:
Nginx must enter the directory: / usr / local / nginx / sbin /

View Nginx version number

./nginx -v

Here Insert Picture Description

Start Nginx

./nginx

Here Insert Picture Description

Close Nginx

./nginx -s stop

Here Insert Picture Description

Reload

./nginx -s reload

Here Insert Picture Description

Published 670 original articles · won praise 1903 · Views 240,000 +

Guess you like

Origin blog.csdn.net/cold___play/article/details/104081166