nginx Gzip file download not working

pralive nginx-forum at nginx.us
Sun May 13 08:19:26 UTC 2012


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..

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,226362,226362#msg-226362



More information about the nginx mailing list