<div dir="ltr">From an nginx book i read setting<div><br></div><div>###########</div><div><div>http {</div><div><br></div><div>sendfile on;</div><div>sendfile_max_chunk 512k;</div><div>aio threads=default;</div><div>directio 4m;</div><div>############</div><div><br></div><div>is good as it use (if i understand it correctly) </div><div><br></div><div>sendfile for files less than 4m and directio for files larger than 4m</div><div><br></div><div>But the above config is causing issues like static css files images etc not being served. I am not sure what exactly is the issue But commenting out </div><div><br></div><div>directio from the above fix it or commenting out sendfile fix it . </div><div><br></div><div>But adding them both creates a mess.</div><div><br></div><div>The question is is the above combination valid and if yes what might be causing  the issue .</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><b>Anoop P Alias</b> <div><br></div></div></div></div>
</div></div>