nixos/nextcloud: set correct MIME type for .mjs files

This commit is contained in:
Daniel Thwaites 2023-12-17 19:17:10 +00:00
parent 98757ab551
commit 292c74c7a9
No known key found for this signature in database
GPG Key ID: D8AFC4BF05670F9D

View File

@ -1135,6 +1135,9 @@ in {
try_files $uri /index.php$request_uri;
expires 6M;
access_log off;
location ~ \.mjs$ {
default_type text/javascript;
}
location ~ \.wasm$ {
default_type application/wasm;
}