nginx配置SSL常见的问题

如果浏览不顺畅请到原文章出处:https://www.sky8g.com/technology/500/

请注意可能会提示风险,这是csdn官网如果不是他们的网址,其他的网址都会提示有风险,这是CSDN网站设置的问题,请放心访问,无需担心。谢谢。

原文章出处:https://www.sky8g.com/technology/500/

在安装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源代码研究与开发。希望你下次光临,你的认可和留言是对我们最大的支持,谢谢!

你可能感兴趣的:(IT技术支持,magento,centos7,apache,mariadb,php,nginx,linux,JavaScript,js,js语法)