mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
Merge pull request #275053 from danth/nextcloud-mjs
nixos/nextcloud: set correct MIME type for .mjs files
This commit is contained in:
commit
1a9fe45b53
@ -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 New Issue
Block a user