nginx -s stop and -s quit 有什么区别?

  • Post author:
  • Post category:其他


Quit is a graceful shutdown. Nginx finishes serving the open connections before shutdown

Quit 是一个优雅的关闭方式,Nginx在退出前完成已经接受的连接请求。

Stop is a quick shutdown where is terminates in between serving the connection


Stop 是快速关闭,不管有没有正在处理的请求。

参考:

http://wiki.nginx.org/CommandLine

相关阅读:




localtunnel 原理及与 nginx 的区别对比分析



MacOS 下 Nginx 安装记录


使用nginx的rewrite实现代理指定目录命令方法



版权声明:本文为testcs_dn原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。