When serving/sending HTML files to a users browser, where can I reconfigure this size limit?
I want to send an extremely large html files to users via apache and nginx.
Files are being truncated in apache/nginx, what setting determines the file size?
in nginx, add the following line to your nginx.conf file:
for a 2gb file limit.
Larger than that, and you might run into other issues (ie, like your local filesystem having problems with big files, memory spikes for processing, etc).
Check this post for further comparisons and problems with large files.
I've managed to download a 1GB HTML file from nginx 0.8.28 without any problems. Are you using gzip compression? You may need to set appropriate gzip_buffers size or even disable it at all, if the HTML files are so big.
fastcgi_buffers 1024 1024k; fastcgi_buffer_size 1024k;