diff --git a/mime.types b/mime.types index 4506cf1..675eb6c 100644 --- a/mime.types +++ b/mime.types @@ -6,8 +6,13 @@ types { application/json json map topojson; application/ld+json jsonld; application/rss+xml rss; - application/vnd.geo+json geojson; - application/xml rdf xml; + # Normalize to standard type. + # https://tools.ietf.org/html/rfc7946#section-12 + application/geo+json geojson; + application/xml xml; + # Normalize to standard type. + # https://tools.ietf.org/html/rfc3870#section-2 + application/rdf+xml rdf; # JavaScript diff --git a/nginx.conf b/nginx.conf index 2611226..6cb4a25 100644 --- a/nginx.conf +++ b/nginx.conf @@ -124,12 +124,13 @@ http { application/ld+json application/manifest+json application/rss+xml - application/vnd.geo+json + application/geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml + application/rdf+xml font/collection font/opentype font/otf