1451#0: duplicate MIME type "text/html" in /usr/local/nginx/conf/nginx.conf:71

What does this error mean? I upgraded from 0.6.32 to 0.7.13 and it
appeared.

[warn] 1451#0: duplicate MIME type “text/html” in
/usr/local/nginx/conf/nginx.conf:71

– Adam

“Courage is not the absence of fear, but rather the judgment that
something
else is more important than fear.” — Ambrose Redmoon

Oops; here is line 71:

gzip_types text/plain text/html text/css image/x-icon image/png;

– Adam

“Courage is not the absence of fear, but rather the judgment that
something
else is more important than fear.” — Ambrose Redmoon

igor changed it so now duplicates issue a “warn” for that… i asked
about it too.

i think it changed around 0.7.10 or so. by default it always had
text/html apparently.

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