From 9d7ddd46c58222980c0af45ea3ec48eb46008654 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Thu, 18 Apr 2024 23:33:47 +0200 Subject: [PATCH] dokcer: cache webp images files in nginx --- docker/nginx/vichan.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/vichan.conf b/docker/nginx/vichan.conf index b5b49deb..35f6bc08 100644 --- a/docker/nginx/vichan.conf +++ b/docker/nginx/vichan.conf @@ -20,7 +20,7 @@ server { # Expire rules for static content # 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|webp|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ { expires 1M; access_log off; log_not_found off;