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?
--
Rahul Bansal
EasyEngine - https://github.com/rtCamp/easyengine