Nginx的重启等命令

在对nginx设置后

平滑重启:

kill -HUP `cat /usr/local/nginx/logs/nginx.pid`

如果启用不了,可以通过

cd /root

./run.sh

来启用。

This entry was posted in Nginx and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>