proxy_buffering on - doesn't return files with large data?

Maxim Dounin mdounin at
Fri Apr 6 16:35:25 UTC 2012


On Fri, Apr 06, 2012 at 08:32:16AM -0400, shrinath.m wrote:

> Hi, 
> We have setup like so : 
> 1. Nginx is configured as server which recieves user request
> 2. The user request is proxy_passed to another server which is also
> Nginx. 
> Now when user requests for a file(401481 bytes) over AJAX, it is not
> being served. This problem doesn't happen for every file, just for
> random files. The same file doesn't load every time. 
> I tried disabling proxy_buffering off, it worked. 
> BTW, it is not the file size problem. It is working for larger file than
> the one that is not loading. I would love to know why. 

First of all try looking into error logs.  If it doesn't help, 
please provide debug log, see here for details:

Maxim Dounin

More information about the nginx mailing list