How to enable .mjs support for Nextcloud?

#1
I am using Openlitespeed as part of Cyberpanel.
I have several Nextcloud instances.
Since version 28, NC requires .mjs support on the webserver. Is it possible to enable or use .mjs support on Openlitespeed?
I would not like to change the server, because Openlitespeed works great in tandem with NC.

Thanks.
 

Cold-Egg

Administrator
#2
To add the new file type support, you can try to append "mjs = application/javascript" to the /usr/local/lsws/conf/mime.properties config file, then restart the web server.
 
Top