我在Nginx配置文件中有这个
gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
但是Nginx在启动时给出错误
[warn]: duplicate MIME type "text/html" in /etc/nginx/nginx.conf:25
实际重复text/html
什么?是text/plain
吗
Enables compression for additional MIME-types besides "text/html". "text/html" is always compressed.