mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:12:26 +08:00
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
Block a user