Welcome! Log In Create A New Profile

Advanced

nginx Gzip file download not working

May 13, 2012 04:19AM
Hi All,

When i try to download a file using "curl -H "Accept-Encoding: gzip" http://abc.com/xx.epub" ,almost 99% file downloads and then it hangs and end up with this message "curl: (18) transfer closed with 2693 bytes remaining to read". Please help.Do i need to change anything in server side to make this work?

this is my gzip configuration in nginx.conf

gzip on;
gzip_http_version 1.0;
gzip_comp_level 2;
gzip_proxied any;
gzip_min_length 1100;
gzip_buffers 16 8k;
gzip_disable "MSIE [1-6].(?!.*SV1)";
gzip_vary on;

Please help me..
Subject Author Posted

nginx Gzip file download not working

pralive May 13, 2012 04:19AM

Re: nginx Gzip file download not working

pralive May 14, 2012 05:28PM

Re: nginx Gzip file download not working

Francis Daly May 14, 2012 06:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready