Fix font caching in docker image

This commit is contained in:
kolaente 2021-01-10 18:49:52 +01:00
parent d384c048ed
commit 0c833af72f
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 13 additions and 6 deletions

View File

@ -38,12 +38,19 @@ http {
# Expires map
map $sent_http_content_type $expires {
default off;
text/html max;
text/css max;
application/javascript max;
~image/ max;
~font/ max;
default off;
text/html max;
text/css max;
application/javascript max;
text/javascript max;
application/vnd.ms-fontobject max;
application/x-font-ttf max;
font/opentype max;
font/woff2 max;
image/svg+xml max;
image/x-icon max;
~image/ max;
~font/ max;
}
server {