Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running nginx with SSL on Ubuntu 10.04LTS. Chrome gives me this annoying warning when I inspect the certificate:

The connection is not compressed.

In the response it looks like it is being sent gzipped though:

Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Type:text/html; charset=utf-8
Date:Sun, 12 Feb 2012 09:00:38 GMT
Expires:Thu, 19 Nov 1981 08:52:00 GMT
share|improve this question
up vote 3 down vote accepted

The connection is not compressed. is related to ssl compression, not gzip. Since you response gzip-compressed, there's no need to enable compression on ssl level.

See also:

share|improve this answer

Since this question was asked, a serious security vulnerability (the BEAST attack) was discovered making it possible to compromise an SSL/TLS session if the SSL/TLS session is compressed. To mitigate this, both servers and browsers are beginning to disable compression; you will need to use HTTP compression instead, and that only sparingly if at all, to mitigate yet another vulnerability (the CRIME attack).

share|improve this answer
Glad you brought this up. I was just reading about it today, as well. – nojak Sep 17 '12 at 22:32

SSL compression is disabled intentionally in Nginx. Apparently, to save memory. It may make sense as Chrome is the only browser I know that supports SSL compression.

I use Apache specially for this feature as SSL compression saves a lot of bandwidth by compressing the whole 2-way stream, not just the response body. In my application (ERP web client) the compressed SSL stream uses about 30% to 50% less bandwidth than http compression. So, a lot of bandwidth is saved just by asking users to use Chrome.

If you want to switch to Apache, check my question for information about disabling http compression for enhanced performance.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.