added webm to the nginx.conf cache settings

This commit is contained in:
AHMZA
2022-02-23 19:38:23 +00:00
parent 314b45143d
commit 601648f110
+1 -1
View File
@@ -48,7 +48,7 @@ http {
} }
# Media: images, icons, video, audio, HTC # Media: images, icons, video, audio, HTC
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ { location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc|webp)$ {
expires 1y; expires 1y;
access_log off; access_log off;
add_header Cache-Control "public"; add_header Cache-Control "public";