diff --git a/admin_manual/installation/nginx.rst b/admin_manual/installation/nginx.rst index 8fddd9967..34d0aece6 100644 --- a/admin_manual/installation/nginx.rst +++ b/admin_manual/installation/nginx.rst @@ -179,7 +179,7 @@ webroot of your nginx installation. In this example it is access_log off; } - location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap)$ { + location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$ { try_files $uri /index.php$request_uri; # Optional: Don't log access to other assets access_log off; @@ -345,7 +345,7 @@ your nginx installation. access_log off; } - location ~ ^\/nextcloud\/.+[^\/]\.(?:png|html|ttf|ico|jpg|jpeg|bcmap)$ { + location ~ ^\/nextcloud\/.+[^\/]\.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$ { try_files $uri /nextcloud/index.php$request_uri; # Optional: Don't log access to other assets access_log off;