Disable buffering/caching of HTTP PUT upload requests in nginx proxy
pasik at iki.fi
Wed Nov 23 19:39:05 UTC 2011
During the upcoming days I'm going to try to implement a feature in nginx proxy
that allows disabling local disk buffering/caching of HTTP PUT upload requests,
e.g. allow directly stream the uploads to the backend server.
Right now I'm having problems because nginx proxy stores all the uploads temporarily
to the nginx server local disk, and thus fills up the disk when big files are being uploaded.
If someone has comments/ideas/suggestions about this, feel free to write to me.
I'm currently in the process of getting familiar with nginx code
and the request 'flow' inside nginx.
I'll let you know how it goes :)
on nginx@ list Alexandr wrote that he had implemented something similar,
by simply hijacking connection of the request.
Is there a patch available somewhere?
More information about the nginx-devel