nginx配置SSL常见的问题

在安装nginx证书的时候出现的错误
[root@123456]# nginx -t
nginx: [warn] duplicate MIME type “text/html” in /etc/nginx/nginx.conf:60
nginx: [warn] “ssl_stapling” ignored, issuer certificate not found for certificate “/var/www/ssl/abcd.com.crt”
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
 解决如下
gzip_types text/html多写了,默认就已经压缩了,删除text/html即可。

 

如果有不懂的地方请留言,SKY8G网站编辑者专注于研究IT源代码研究与开发。希望你下次光临,你的认可和留言是对我们最大的支持,谢谢!

上一篇: Apache Module mod_deflate

下一篇: Linux 神奇tar压缩,打包命令

登录 评论
avatar