Add 'webp' image format to list of cached files

This commit is contained in:
Kolsch Systems 2021-08-16 13:09:35 -07:00
parent 587de90c9c
commit d410daca03
No known key found for this signature in database
GPG Key ID: 028833B3033A172E

View File

@ -9,7 +9,7 @@ location ~* \.(?:rss|atom)$ {
}
# Caches images, icons, video, audio, HTC, etc.
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ {
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc|webp)$ {
expires 1y;
access_log off;
}