Gzip_types now automatically includes text/html?

[[email protected] ~]# /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.
[[email protected] ~]#

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 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 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:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs