disable request buffering in nginx

前端 未结 4 544
滥情空心
滥情空心 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:27

    Now available in nginx since version nginx-1.7.11.

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

    To disable buffering the upload specify

    proxy_request_buffering off;
    

提交回复
热议问题