1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

added video MIME support for Nextcloud/Nginx

This commit is contained in:
Joshua Dennis 2020-05-12 14:47:02 -07:00
parent 930052c619
commit c230e321ee

View file

@ -135,7 +135,7 @@ location ^~ {{ nextcloud_url }} {
access_log off; 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; try_files $uri /nextcloud/index.php$request_uri;
# Optional: Don't log access to other assets # Optional: Don't log access to other assets
access_log off; access_log off;