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 (cda627b7c8/admin_manual/installation/nginx.rst).
This commit is contained in:
Antoine Eiche 2020-03-28 20:15:51 +01:00
parent afb035a32b
commit 24ee2e8dc0

View File

@ -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;
'';