[PATCH 2 of 2] MIME: added mjs extension to text/javascript

Maxim Dounin mdounin at mdounin.ru
Thu Aug 29 02:20:01 UTC 2024


# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1724897367 -10800
#      Thu Aug 29 05:09:27 2024 +0300
# Node ID 03d08e0b6e84d9306b4dfce4124e13dea42f3639
# Parent  b5c5efc97ed0ad41be39018cbabe9abc31cb164d
MIME: added mjs extension to text/javascript.

diff --git a/conf/mime.types b/conf/mime.types
--- a/conf/mime.types
+++ b/conf/mime.types
@@ -2,7 +2,7 @@
 types {
     text/html                                        html htm shtml;
     text/css                                         css;
-    text/javascript                                  js;
+    text/javascript                                  js mjs;
     text/xml                                         xml;
     image/gif                                        gif;
     image/jpeg                                       jpeg jpg;



More information about the nginx-devel mailing list