Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NGINX 目前作为我们应用程序的代理运行,但最近我实现了 comet 和transfer-encoding: chunked. 我意识到 NGINX 通过不正确地发回内容而是缓冲 Comet 而弄乱了响应。
transfer-encoding: chunked
进行这项工作的适当设置是什么?它是否需要特定于 URI 才能不干扰其他请求?
谢谢
我能够使用以下设置修复它:
proxy_buffering off; proxy_connect_timeout 6000; proxy_send_timeout 6000; proxy_read_timeout 6000;