gzip_types now automatically includes text/html?
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
> [root at web01 ~]#
> This was the line:
> gzip_types text/plain text/html text/css
> 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.
More information about the nginx