强制Nginx立即关闭连接 [英] Force nginx to close connection instantly
本文介绍了强制Nginx立即关闭连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在请求完成后,如何让nginx立即关闭tcp连接?
How do I let nginx close the tcp connection instantly after the request is fulfilled?
推荐答案
我刚刚找到了解决方案:
I just found the solution:
location /ip/ {
keepalive_timeout 0;
}
这篇关于强制Nginx立即关闭连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文