nginx-0.7.7

Igor Sysoev is at rambler-co.ru
Thu Jul 31 00:35:12 MSD 2008


On Wed, Jul 30, 2008 at 02:34:15PM -0400, Jon Singler wrote:

> What is this "directio" directive? I didn't find anything searching
> the list archive.

directio  [off|size]
http/server/location level
default  off

The directive enables O_DIRECT or F_NOCACHE (Mac OS X) options for
files open for reading if their size is bigger than specified in directive.

Example:

     directio  4m;
     sendfile  off;


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





More information about the nginx mailing list