From 24ee2e8dc0e8a26b3836fbea214b68433ea48796 Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Sat, 28 Mar 2020 20:15:51 +0100 Subject: [PATCH] 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). --- nixos/modules/services/web-apps/nextcloud.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; '';