Welcome! Log In Create A New Profile

Advanced

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

Jools Wills
June 20, 2009 10:43AM
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
Subject Author Posted

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

Jools Wills June 20, 2009 10:43AM

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

Igor Sysoev June 20, 2009 10:53AM

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

Jools Wills June 20, 2009 11:21AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready