diff options
| author | Daniel Thwaites <danthwaites30@btinternet.com> | 2023-12-17 19:17:10 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-12-18 10:07:53 +0000 |
| commit | c44f8fe4a0481ef177d16a36a0a4572f4c95e229 (patch) | |
| tree | 164b05641f9da56c9d84e88f49052a257aba8974 | |
| parent | Merge pull request #275116 from NixOS/backport-275044-to-release-23.11 (diff) | |
| download | nixpkgs-c44f8fe4a0481ef177d16a36a0a4572f4c95e229.tar.gz | |
nixos/nextcloud: set correct MIME type for .mjs files
(cherry picked from commit 292c74c7a92efe45cfdfc091fb48d8c575346a95)
| -rw-r--r-- | nixos/modules/services/web-apps/nextcloud.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index e3529ed4d95b..ca40678e9e50 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -1139,6 +1139,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; } |
