simplify emoji cache rule
This commit is contained in:
parent
89f34eb62b
commit
e9e97f5bcf
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue