nixos/nextcloud: set correct MIME type for .mjs files
This commit is contained in:
parent
98757ab551
commit
292c74c7a9
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue