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

来源:互联网 发布:idm下载器for mac 编辑:程序博客网 时间:2024/04/27 14:30

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实现代理指定目录命令方法


阅读全文
1 0
原创粉丝点击