diff options
author | J0WI <J0WI@users.noreply.github.com> | 2020-04-22 21:16:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 21:16:45 +0000 |
commit | 6b6c68cabfc745ca94e3fe64145f5e04dffeecf3 (patch) | |
tree | ecd15381304090e485baa2b96cb8135d9b6971a5 /.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf | |
parent | 5bd63028a74bc61f472bbb71e11233dd419cc9d8 (diff) |
Serve mp4 and webm files directly in nginx (#1076)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to '.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf')
-rw-r--r-- | .examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf b/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf index d44c059e..62095270 100644 --- a/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf +++ b/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf @@ -159,7 +159,7 @@ http { 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; |