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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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
/home/scardig/local/nginx/conf/nginx.conf:30
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
text/xml
application/xml application/xml+rss text/javascript
application/atom+xml;

my bug :) or nginx bug ?

tnx
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.