From 6765bfb0f32925ccdd1291d96b556b88a62bc2da Mon Sep 17 00:00:00 2001 From: tim Date: Wed, 7 May 2025 12:30:00 +0300 Subject: [PATCH] r72626-serve-static-webm-with-nginx --- roles/debian/nginx/templates/drupal10.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/debian/nginx/templates/drupal10.j2 b/roles/debian/nginx/templates/drupal10.j2 index a4dfa5449..e02ff44ee 100644 --- a/roles/debian/nginx/templates/drupal10.j2 +++ b/roles/debian/nginx/templates/drupal10.j2 @@ -124,7 +124,7 @@ location ~ ^/sites/.*/files/.* { # This Nginx config is DENY FIRST, so only these file extensions are permitted. # Core and contrib assets can be pretty much anywhere. -location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|eot|woff2|ttf|otf)$ { +location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|eot|woff2|ttf|otf|webm)$ { try_files $uri @rewrite =404; {% if nginx.http.cache_behavior_public %} {{ nginx.http.cache_behavior_public }};