gzip_types now automatically includes text/html?
Igor Sysoev
is at rambler-co.ru
Sat Aug 16 13:01:58 MSD 2008
On Sat, Aug 16, 2008 at 01:56:36AM -0700, mike wrote:
> [root at 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 at 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.
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.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list