Disable buffering/caching of HTTP PUT upload requests in nginx proxy

Pasi Kärkkäinen pasik at iki.fi
Wed Nov 23 19:34:23 UTC 2011

On Wed, Nov 23, 2011 at 09:22:39PM +0200, Alexandr Gomoliako wrote:
> On Wed, Nov 23, 2011 at 9:11 PM, Pasi Kärkkäinen <pasik at iki.fi> wrote:
> > Hello,
> >
> > 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 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.
> It depends how are you going to approach this. I already did something
> similar by simply hijacking connection of the request.

Ok, good to hear.

> Consider subscribing to nginx-devel@ for further questions.

Good idea. I'll do that. 


-- Pasi

More information about the nginx mailing list