Problem with nginx test

Steve steeeeeveee at gmx.net
Wed Jan 13 20:04:07 MSK 2010


-------- Original-Nachricht --------
> Datum: Wed, 13 Jan 2010 11:49:06 -0500
> Von: "assassin85" <nginx-forum at nginx.us>
> An: nginx at nginx.org
> Betreff: Re: Problem with nginx test

> lol :D i didn't notice that :) , thanks steve for that
> 
> now i running the test came with
> 
> 
> root at server [/]# /usr/local/nginx/sbin/nginx -t
> : duplicate MIME type "text/html" in /usr/local/nginx/conf/nginx.conf:29
> the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
> configuration file /usr/local/nginx/conf/nginx.conf test is successful
> 
> 
> what is duplicate in the config ?
> 
I think the "text/html" part can be omitted from that line with "gzip_types". Change it to something like:
-----------------
gzip_types  text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
-----------------


> thanks
> 
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,40664,40753#msg-40753
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser



More information about the nginx mailing list