add mjs as javascript extension

This commit is contained in:
j 2024-06-01 10:59:11 +01:00
parent 27d64f2ad5
commit d98177e686

View file

@ -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