Forum: NGINX Bug (or my fault) in nginx-0.7.27 ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
MS (Guest)
on 2008-12-17 11:26
(Received via mailing list)
When I run: nginx -t to test my nginx.conf I get:

2008/12/17 02:59:58 [warn] 9391#0: duplicate MIME type "text/html" in
2008/12/17 02:59:58 [info] 9391#0: the configuration file
/home/scardig/local/nginx/conf/nginx.conf syntax is ok
2008/12/17 02:59:58 [info] 9391#0: the configuration file
/home/scardig/local/nginx/conf/nginx.conf was tested successfully

my line 30 is:

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

my bug :) or nginx bug ?

mike (Guest)
on 2008-12-17 11:41
(Received via mailing list)
text/html is defaulted already. it has been for a while. it just
whines about it in the error log now. it's safe to remove. :)
This topic is locked and can not be replied to.