diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index db59d012461..65b631aec30 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -121,7 +121,7 @@ server { } # cache emojis - location ~ /images/emoji/.*\.(png|gif|jpg|jpeg)(\?.*)?$/ { + location ~ /images/emoji/ { expires 1y; add_header Cache-Control public,immutable; }