nginx files upload streaming with proxy_pass

前端 未结 3 1211
半阙折子戏
半阙折子戏 2020-12-13 04:02

I configured nginx as reverse proxy to my node.js application for file uploads with proxy_pass directive. It works, but my problem is that nginx waits for the whole file bod

3条回答
  •  醉话见心
    2020-12-13 04:33

    Tengine (a fork from nginx) support unbuffered upload by setting proxy_request_buffering to off.

    http://tengine.taobao.org/document/http_core.html

    Updated: in nginx 1.7.11 the proxy_request_buffering directive is available, as @Maxim Dounin mentioned above

提交回复
热议问题