summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2020-03-28 20:15:51 +0100
committerAntoine Eiche <lewo@abesis.fr>2020-03-29 09:34:52 +0200
commit24ee2e8dc0e8a26b3836fbea214b68433ea48796 (patch)
tree95c094daf77182546bd9ddbe3f9a0c84c6199d0c /nixos
parentafb035a32b18e0d128949a5f10c9fb0a304863a7 (diff)
nixos/nextcloud: add bcmap, mp4 and webm in nginx configuration
This is used by the `firstrunwizard` and has been added in the nginx configuration documentation of the latest manual (https://github.com/nextcloud/documentation/blob/cda627b7c8896f3bac8bfde420c0c8b5d1806190/admin_manual/installation/nginx.rst).
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/nextcloud.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix
index 087bd0e5df3e..1069b71f74ce 100644
--- a/nixos/modules/services/web-apps/nextcloud.nix
+++ b/nixos/modules/services/web-apps/nextcloud.nix
@@ -565,7 +565,7 @@ in {
add_header Referrer-Policy no-referrer;
access_log off;
'';
- "~ \\.(?:png|html|ttf|ico|jpg|jpeg)$".extraConfig = ''
+ "~ \\.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$".extraConfig = ''
try_files $uri /index.php$request_uri;
access_log off;
'';