add mjs as javascript extension
This commit is contained in:
parent
27d64f2ad5
commit
d98177e686
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue