# 1451#0: duplicate MIME type "text/html" in /usr/local/nginx/conf/nginx.conf:71

**URL:** <https://www.ruby-forum.com/t/1451-0-duplicate-mime-type-text-html-in-usr-local-nginx-conf-nginx-conf-71/146942>\
**Category:** NGINX\
**Created:** [August 27, 2008, 12:26am UTC](https://www.ruby-forum.com/t/1451-0-duplicate-mime-type-text-html-in-usr-local-nginx-conf-nginx-conf-71/146942 "2008-08-27T00:26:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_Setzler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@Adam\_Setzler](https://www.ruby-forum.com/u/Adam_Setzler)\
**Post date:** [August 27, 2008, 12:26am UTC](https://www.ruby-forum.com/t/1451-0-duplicate-mime-type-text-html-in-usr-local-nginx-conf-nginx-conf-71/146942/1 "2008-08-27T00:26:09Z")

</div>

What does this error mean? I upgraded from 0.6.32 to 0.7.13 and it  
appeared.

[warn] 1451#0: duplicate MIME type “text/html” in  
/usr/local/nginx/conf/nginx.conf:71

– Adam

“Courage is not the absence of fear, but rather the judgment that  
something  
else is more important than fear.” â€” Ambrose Redmoon

---

<div class="post-metadata">

**Author:** ![Adam\_Setzler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@Adam\_Setzler](https://www.ruby-forum.com/u/Adam_Setzler)\
**Post date:** [August 27, 2008, 12:27am UTC](https://www.ruby-forum.com/t/1451-0-duplicate-mime-type-text-html-in-usr-local-nginx-conf-nginx-conf-71/146942/2 "2008-08-27T00:27:19Z")

</div>

Oops; here is line 71:

gzip\_types text/plain text/html text/css image/x-icon image/png;

– Adam

“Courage is not the absence of fear, but rather the judgment that  
something  
else is more important than fear.” â€” Ambrose Redmoon

---

<div class="post-metadata">

**Author:** ![Adam\_Setzler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@Adam\_Setzler](https://www.ruby-forum.com/u/Adam_Setzler)\
**Post date:** [August 27, 2008, 12:33am UTC](https://www.ruby-forum.com/t/1451-0-duplicate-mime-type-text-html-in-usr-local-nginx-conf-nginx-conf-71/146942/3 "2008-08-27T00:33:45Z")

</div>

igor changed it so now duplicates issue a “warn” for that… i asked  
about it too.

i think it changed around 0.7.10 or so. by default it always had  
text/html apparently.
