diff conf/mime.types @ 9327:707736510a90

MIME: added text/markdown type. Added text/markdown type for the ".md" and ".markdown" extensions (https://www.iana.org/assignments/media-types/text/markdown). Additionally, text/markdown is added to the default charset_types list of the charset module, making it easier to provide the "charset" parameter, which is defined as REQUIRED for text/markdown. Prodded by Andrea Pappacoda, http://freenginx.org/pipermail/nginx-devel/2024-August/000486.html
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 31 Aug 2024 05:40:00 +0300
parents 9a0849fd4b46
children 48f30a3add51
line wrap: on
line diff
--- a/conf/mime.types
+++ b/conf/mime.types
@@ -9,6 +9,7 @@ types {
     application/atom+xml                             atom;
     application/rss+xml                              rss;
 
+    text/markdown                                    md markdown;
     text/mathml                                      mml;
     text/plain                                       txt;
     text/vnd.sun.j2me.app-descriptor                 jad;