Tweaking FastCGI buffers settings

rahul286 nginx-forum at nginx.us
Fri Nov 27 09:28:08 MSK 2009


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?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,25728,25886#msg-25886





More information about the nginx mailing list