Welcome! Log In Create A New Profile

Advanced

Re: Problem with nginx test

Steve
January 13, 2010 12:10PM
-------- Original-Nachricht --------
> Datum: Wed, 13 Jan 2010 11:49:06 -0500
> Von: "assassin85" <nginx-forum@nginx.us>
> An: nginx@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@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@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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Problem with nginx test

assassin85 January 13, 2010 07:44AM

Re: Problem with nginx test

Igor Sysoev January 13, 2010 08:10AM

Re: Problem with nginx test

assassin85 January 13, 2010 11:11AM

Re: Problem with nginx test

Glen Lumanau January 13, 2010 11:24AM

Re: Problem with nginx test

Steve January 13, 2010 11:38AM

Re: Problem with nginx test

assassin85 January 13, 2010 11:49AM

Re: Problem with nginx test

Steve January 13, 2010 12:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 107
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready