Skip to content

Commit

Permalink
Add webp and avif to the list of static extensions
Browse files Browse the repository at this point in the history
Related to #25
  • Loading branch information
andypost committed Dec 23, 2021
1 parent fea27ee commit 2f14ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 20/drupal8.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2f14ed0

Please sign in to comment.