I have this in Nginx configuration filesgzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;but Nginx give error when starting up[warn]: duplicate MIME type "text/html" in /etc/nginx/nginx.conf:25What is actually duplicate to text/html? Is it text/plain? 解决方案 For the option gzip_types, the mime-type text/html is always included by default, so you don't need to specify it explicitly. 这篇关于重复的MIME类型"text/html"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-22 20:10
查看更多