Tweaking FastCGI buffers settings

Igor Sysoev igor at sysoev.ru
Fri Nov 27 09:46:27 MSK 2009


On Fri, Nov 27, 2009 at 01:28:08AM -0500, rahul286 wrote:

> Rob Schultz Wrote:
> -------------------------------------------------------
> > If you have control over the scripts instead of
> > using the php readfile() function wouldn't it be
> > better to use nginx's
> > http://wiki.nginx.org/NginxXSendfile to allow
> > nginx to serve the files directly without having
> > to pass them over fastcgi? 
> 
> I did not know about http://wiki.nginx.org/NginxXSendfile.
> It is exactly the same thing I wanted. I tried it after you gave hint to me.
> For some reason it didn't work and resulted in 404 error.
> Is it in nginx core or do I need to enable it from somewhere?

Yes, this is a core feature, you should look in error_log for 404 reason.


-- 
Igor Sysoev
http://sysoev.ru/en/




More information about the nginx mailing list