diff options
author | Antoine Eiche <lewo@abesis.fr> | 2020-03-28 20:15:51 +0100 |
---|---|---|
committer | Antoine Eiche <lewo@abesis.fr> | 2020-03-29 09:34:52 +0200 |
commit | 24ee2e8dc0e8a26b3836fbea214b68433ea48796 (patch) | |
tree | 95c094daf77182546bd9ddbe3f9a0c84c6199d0c | |
parent | afb035a32b18e0d128949a5f10c9fb0a304863a7 (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).
-rw-r--r-- | nixos/modules/services/web-apps/nextcloud.nix | 2 |
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; ''; |