在安装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即可。