simplify emoji cache rule

This commit is contained in:
Sam 2017-07-20 18:22:59 -04:00
parent 89f34eb62b
commit e9e97f5bcf

View File

@ -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;
}