From 3ecf509f3b7cf40b5427b10de0a2539c943febbc Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 19 Jan 2026 13:32:01 +0100 Subject: [PATCH] :wrench: Add missing gif files handling on defaut nginx config --- docker/devenv/files/nginx.conf | 2 +- docker/images/files/nginx.conf.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/devenv/files/nginx.conf b/docker/devenv/files/nginx.conf index f3a0023ceb..0c227e244d 100644 --- a/docker/devenv/files/nginx.conf +++ b/docker/devenv/files/nginx.conf @@ -223,7 +223,7 @@ http { add_header X-Cache-Status $upstream_cache_status; } - location ~* \.(jpg|png|svg|ttf|woff|woff2)$ { + location ~* \.(jpg|png|svg|ttf|woff|woff2|gif)$ { add_header Cache-Control "public, max-age=604800" always; # 7 days } diff --git a/docker/images/files/nginx.conf.template b/docker/images/files/nginx.conf.template index 55a7f829bc..dca7262f38 100644 --- a/docker/images/files/nginx.conf.template +++ b/docker/images/files/nginx.conf.template @@ -144,7 +144,7 @@ http { location / { include /etc/nginx/overrides/location.d/*.conf; - location ~* \.(js|css|jpg|png|svg|ttf|woff|woff2|wasm)$ { + location ~* \.(js|css|jpg|png|svg|gif|ttf|woff|woff2|wasm)$ { add_header Cache-Control "public, max-age=604800" always; # 7 days }