disable request body buffering for file upload

Maxim Dounin mdounin at mdounin.ru
Thu Jul 20 14:10:11 UTC 2017


On Thu, Jul 20, 2017 at 06:36:21AM -0400, garyc wrote:


> Another approach we could take would be to add a disk space check api to our
> web app so we can confirm we have sufficient space before the upload POST
> call is made.
> I appreciate that running a web server in a low disk space environment is
> not a common scenario however, in your opinion, should it be possible to get
> details of the upload POST request to a script before the entire request
> body is written to disk by nginx?

Consider the auth request module, 

Maxim Dounin

More information about the nginx mailing list