nginx fails to deliver certain files with gzip + SSL

Joshua Sierles jsierles at
Mon Oct 29 12:54:39 MSK 2007

I've noticed a problem with nginx 0.6.x running with gzip and SSL.  
Some static file delivery is cut off half way. This file always  
breaks, for example:

Here is the relevant nginx config:

   gzip            on;
   gzip_http_version 1.0;
   gzip_comp_level 2;
   gzip_proxied any;
   gzip_types      text/plain text/html text/css application/x- 
javascript text/xml application/xml application/xml+rss text/javascript;

server {

   root /Users/joshua/ssl-test;
   listen 443;
   ssl on;
   # path to your certificate
   ssl_certificate /Users/joshua/.ssl/server.crt;
   # path to your ssl key
   ssl_certificate_key /Users/joshua/.ssl/server.key;

Joshua Sierles
jsierles at
(866) 518-9273 x214

More information about the nginx mailing list