This won't work for setups where the data directory is outside the document root, maybe we should detect this scenario? According to http://wiki.nginx.org/XSendfile this scenario isn't supported at all, I'm not sure if this means that it's the fault of the user if he nevertheless enables sendfile or if we should silently fall back to normal file delivery when the data directory is outside the document root.