disable request buffering in nginx

前端 未结 4 533
滥情空心
滥情空心 2021-02-03 12:34

It seems that nginx buffers requests before passing it to the updstream server,while it is OK for most cases for me it is very bad :)

My case is like this:

I hav

4条回答
  •  死守一世寂寞
    2021-02-03 13:24

    As soon as this [1] feature is implemented, Nginx is able to act as reverse proxy without buffering for uploads (bug client requests). It should land in 1.7 which is the current mainline.

    [1] http://trac.nginx.org/nginx/ticket/251

    Update

    This feature is available since 1.7.11 via the flag

    proxy_request_buffering on | off;

    http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering

提交回复
热议问题