Improved font handling

This commit is contained in:
kolaente 2019-10-18 18:01:04 +02:00
parent 52bdae90d3
commit c635052c0f
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
3 changed files with 18 additions and 1 deletions

View file

@ -34,7 +34,7 @@ http {
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_min_length 256;
gzip_types text/plain text/css application/json application/x-javascript application/javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml font/woff2 text/html image/x-icon;
gzip_types text/plain text/css application/json application/x-javascript application/javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml font/woff2 image/x-icon;
# Expires map
map $sent_http_content_type $expires {
@ -43,6 +43,7 @@ http {
text/css max;
application/javascript max;
~image/ max;
~font/ max;
}
server {