mike
1
[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.
mike
2
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.
mike
3
On 8/16/08, Igor S. [email protected] 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 ![:slight_smile: :slight_smile:](https://www.ruby-forum.com/images/emoji/apple/slight_smile.png?v=12)