From 2f14ed08980f921f826126269f348274b46cbf23 Mon Sep 17 00:00:00 2001 From: Andy Postnikov Date: Thu, 23 Dec 2021 22:51:29 +0200 Subject: [PATCH] Add webp and avif to the list of static extensions Related to #25 --- 20/drupal8.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/20/drupal8.conf b/20/drupal8.conf index cc091bc..bc88322 100644 --- a/20/drupal8.conf +++ b/20/drupal8.conf @@ -77,7 +77,7 @@ server { try_files $uri @drupal; } - location ~* ^.+\.(?:cur|jpe?g|gif|htc|ico|png|xml|otf|ttf|eot|woff|woff2|svg)$ { + location ~* ^.+\.(?:cur|jpe?g|gif|htc|ico|png|xml|otf|ttf|eot|woff|woff2|svg|webp|avif)$ { access_log off; expires 30d; tcp_nodelay off;