Bug (or my fault) in nginx-0.7.27?


#1

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 :slight_smile: or nginx bug ?

tnx


#2

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. :slight_smile: