[root@web01 ~]# /etc/init.d/nginx restart
Restarting nginx: 2008/08/16 01:54:55 [warn] 15993#0: duplicate MIME
type "text/html" in /etc/nginx/nginx.conf:75
nginx.
[root@web01 ~]#
This was the line:
gzip_types text/plain text/html text/css
application/x-javascript text/xml application/xml application/xml+rss
text/javascript;
It is not duplicated there, so I can only think that by default nginx
is now including it by default... is that right? This is 0.7.10.
on 16.08.2008 11:05
on 16.08.2008 11:09
On Sat, Aug 16, 2008 at 01:56:36AM -0700, mike wrote: > text/javascript; > > It is not duplicated there, so I can only think that by default nginx > is now including it by default... is that right? This is 0.7.10. Yes. Before 0.7.9 duplicates was silently ignored. This is warning only. The "text/html" is default type that always included and can not be disabled.
on 16.08.2008 11:15
On 8/16/08, Igor Sysoev <is@rambler-co.ru> wrote: > Yes. Before 0.7.9 duplicates was silently ignored. This is warning only. > The "text/html" is default type that always included and can not be disabled. That's fine. I took it out of my config. Easy enough :)