- add_header Cache-Control "no-cache, public, must-revalidate, proxy-revalidate";
-
- # allow CORS requests
- add_header Access-Control-Allow-Origin *;
- types {font/opentype otf;}
- types {application/vnd.ms-fontobject eot;}
- types {font/truetype ttf;}
- types {application/font-woff woff;}
- types {font/x-woff woff2;}
- }
-
- gzip on;
- gzip_min_length 1000;
- gzip_comp_level 6;
- gzip_proxied any;
- gzip_types text/css text/js text/javascript application/javascript application/x-javascript;