humhub/humhub — pull request #513 by skazi0 (2014-12-15 23:34:36+00:00)
Title: added handling of nginx's form of X-Sendfile

With those changes and proper nginx configuration (see http://wiki.nginx.org/XSendfile) the "Use X-Sendfile for File Downloads" option seems to work correctly.