加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 运营中心 > Nginx > 正文

nginx – 使用SSL的Chrome中的“连接未压缩”

发布时间:2020-12-13 21:10:21 所属栏目:Nginx 来源:网络整理
导读:我在Ubuntu 10.04LTS上使用SSL运行nginx.当我检查证书时,Chrome给了我这个恼人的警告: The connection is not compressed. 在响应中它看起来像是被发送gzip压缩: Cache-Control:no-store,no-cache,must-revalidate,post-check=0,pre-check=0Connection:kee

我在Ubuntu 10.04LTS上使用SSL运行nginx.当我检查证书时,Chrome给了我这个恼人的警告:

The connection is not compressed.

在响应中它看起来像是被发送gzip压缩:

Cache-Control:no-store,no-cache,must-revalidate,post-check=0,pre-check=0
Connection:keep-alive
Content-Encoding:gzip
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
Pragma:no-cache
Server:nginx/1.0.5
Transfer-Encoding:chunked
Vary:Accept-Encoding
X-Powered-By:PHP/5.3.6-13ubuntu3.3`
最佳答案
连接未压缩.与ssl压缩有关,而不是gzip.由于您响应gzip压缩,因此无需在ssl级别启用压缩.

另见:http://www.belshe.com/2010/11/18/ssl-compression-and-you/

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读