From e9e97f5bcf0f2aa518bbe636b9b2a448e27f8f70 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 20 Jul 2017 18:22:59 -0400 Subject: [PATCH] simplify emoji cache rule --- config/nginx.sample.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }