[warn] duplicate extension "woff"

Francesco Montanari francesco.montanari at outlook.com
Tue May 3 10:37:12 UTC 2022


After checking better, I found where the issue is, I have

    font/woff2 woff;

Instead of
    font/woff2 woff2;

I’ll contact my package maintainer (ppa:ondrej/nginx-mainline on Ubuntu) so they can fix the issue



From: Francesco Montanari <francesco.montanari at outlook.com>
Sent: Tuesday, May 3, 2022 1:12 PM
To: nginx at nginx.org
Subject: [warn] duplicate extension "woff"

Hello,

first of all, I apologize if this is not the proper way to use a mailing list, I think I never used one and I didn't know they were still a thing 😅

However, after updating to the latest nginx mainline I started seeing this warning:

nginx: [warn] duplicate extension "woff", content type: "font/woff2", previous content type: "font/woff" in /etc/nginx/mime.types:29

so I wonder which one of the two lines should be deleted? I checked the file on Master but it has the same two rows: https://github.com/nginx/nginx/blob/master/conf/mime.types<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnginx%2Fnginx%2Fblob%2Fmaster%2Fconf%2Fmime.types&data=05%7C01%7C%7Ce30be8153f4b440c38ab08da2ced814c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637871695837334287%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=m3xpFKdgOm2uh%2FRGqCI0vYJDgVjEcW7jdhCh5Ez0Gug%3D&reserved=0>
Maybe this file should be updated as well?
[https://opengraph.githubassets.com/f85c548d3f674884d0a9c9555a7ece50817dbcf1674ce83abbae20a338667800/nginx/nginx]<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnginx%2Fnginx%2Fblob%2Fmaster%2Fconf%2Fmime.types&data=05%7C01%7C%7Ce30be8153f4b440c38ab08da2ced814c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637871695837334287%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=m3xpFKdgOm2uh%2FRGqCI0vYJDgVjEcW7jdhCh5Ez0Gug%3D&reserved=0>
nginx/mime.types at master · nginx/nginx · GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnginx%2Fnginx%2Fblob%2Fmaster%2Fconf%2Fmime.types&data=05%7C01%7C%7Ce30be8153f4b440c38ab08da2ced814c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637871695837334287%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=m3xpFKdgOm2uh%2FRGqCI0vYJDgVjEcW7jdhCh5Ez0Gug%3D&reserved=0>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
github.com

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220503/566ef1fc/attachment.htm>


More information about the nginx mailing list