From d98177e686f3d7e0b78fac6e16a990fb7d896c22 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 1 Jun 2024 10:59:11 +0100 Subject: [PATCH] add mjs as javascript extension --- vm/pandora_install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vm/pandora_install.sh b/vm/pandora_install.sh index c3f44f6c..69d52adf 100755 --- a/vm/pandora_install.sh +++ b/vm/pandora_install.sh @@ -240,6 +240,8 @@ EOI sed -i -e "s#gzip_disable \"msie6\";#${GZIP}#g" /etc/nginx/nginx.conf +echo "types { application/javascript js mjs; }" > /etc/nginx/conf.d/mjs.conf + service nginx restart fi