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 }