chore(web/homepage): Configure caching for fonts & images
This commit is contained in:
parent
74a78de081
commit
386692d39d
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,10 @@ let
|
||||||
|
|
||||||
${oldRedirects}
|
${oldRedirects}
|
||||||
|
|
||||||
|
location ~* \.(webp|woff2)$ {
|
||||||
|
add_header Cache-Control "public, max-age=31536000";
|
||||||
|
}
|
||||||
|
|
||||||
location /blog {
|
location /blog {
|
||||||
alias ${blog.rendered};
|
alias ${blog.rendered};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue