Nginx + Large File Support

Igor Sysoev igor at
Tue Oct 4 17:45:38 UTC 2011

On Tue, Oct 04, 2011 at 10:24:15AM -0400, Brian Weaver wrote:
> Hello,
> I have what I hope is a simply question, has anyone tried compiling Nginx with support for large files on Linux. I've run into an issue where a co-worker is trying to upload a file in excess of 2GB in size and it's failing. I've modified the compilation options to support large files and we're going to test it. I'm just wondering if anyone had tried it and had any wisdom they would mind sharing.

nginx supports Linux LFS with
#define _FILE_OFFSET_BITS  64
since version 0.0.1.

Igor Sysoev

More information about the nginx-devel mailing list