Running version nginx 1.4.6 and sendfile off is not fixing the issue for me. I restarted nginx – nothing, then restarted vagrant – nothing, modified cached file – nothing.
My application is located in directory mounted by vagrant from OSX and not physically located in vagrant. Maybe this is causing the issue. When I serve application with uwsgi it is all fine, the moment I give control to nginx then I get corrupted files.