[warn]: duplicate MIME type "text/html" in /etc/nginx/nginx.conf:28

Jools Wills buzz at exotica.org.uk
Sat Jun 20 18:43:38 MSD 2009


getting the warning

[warn]: duplicate MIME type "text/html" in /etc/nginx/nginx.conf:28

using nginx 0.7.59

that line reads

gzip_types text/plain text/html text/css application/x-javascript
text/xml application/xml application/xml+rss text/javascript;

the only other reference I have to it is in my mime.types file

types {
  .. in here
}

should it not be in both ? this warning appeared when upgrading from
0.6.34

Best Regards

Jools






More information about the nginx mailing list