os_nextcloud

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


os_nextcloud [2024/04/18 07:55] (current) – created Júne Park
Line 1: Line 1:
 +====== Nextcloud™ ====== 
  
 +----
 +
 +===== Solved Problems ===== 
 +
 +=== mjs configuration error === 
 +
 +== Error description == 
 +<text type="danger">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. </text> 
 +
 +== Solution == 
 +
 +Edit ''/etc/nginx/mime.types''
 +
 +<code ini> 
 +   application/javascript                           js mjs;
 +</code>
 +
 +Remove configuration in nginx conf 
 +
 +<code nginx> 
 +#    include mime.types;
 +#    types {
 +#        text/javascript js mjs;
 +#    }
 +</code> 
  • os_nextcloud
  • Last modified: 2024/04/18 07:55
  • by Júne Park