After the latest Nginx update (currently nginx/1.21.6), the following warning started to appear when I do a nginx -t:
nginx: [warn] duplicate extension "woff", content type: "font/woff2", previous content type: "font/woff" in /etc/nginx/mime.types:29
The same issue is happening on all my servers, with Ubuntu 18.04 or 20.04 + latest nginx mainline
I never edited the mime.types files, which has the following:
types {
[...]
font/woff woff;
font/woff2 woff;
}
From what I understand it doesn't like these two lines having the same value, but which one should I delete?