Skip to content

Commit

Permalink
Cache fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
HanXHX committed Aug 7, 2019
1 parent bb5e00d commit f5885c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/etc/nginx/sites-available/_base.j2
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ server {
log_not_found off;
}

location ~* \.(txt|js|css|png|jpe?g|gif|ico|svg)$ {
location ~* \.(txt|js|css|png|jpe?g|gif|ico|svg|(o|t)tf|woff2?|eot)$ {
expires 30d;
log_not_found off;
}
Expand Down

0 comments on commit f5885c5

Please sign in to comment.