os_nextcloud

Nextcloud™


mjs configuration error

Error description

Your webserver does not serve `.mjs` files using the JavaScript MIME type. This will break some apps by preventing browsers from executing the JavaScript files. You should configure your webserver to serve `.mjs` files with either the `text/javascript` or `application/javascript` MIME type.

Solution

Edit /etc/nginx/mime.types

   application/javascript                           js mjs;

Remove configuration in nginx conf

#    include mime.types;
#    types {
#        text/javascript js mjs;
#    }
  • os_nextcloud
  • Last modified: 2024/04/18 07:55
  • by Júne Park