Nginx 不重启重载配置

以前总是喜欢的去用service nginx restart,这样势必会造成nginx 的重启

nginx 从0.76 的版本开始,允许不重启而重载配置

nginx -t ( syntax check)

nginx -s reload ( nginx reload)

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=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.