Browse Source

Add woff2 format to assets.conf for Cache Assets

irexyc 11 months ago
parent
commit
a0b26b9e98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docker/rootfs/etc/nginx/conf.d/include/assets.conf

+ 1 - 1
docker/rootfs/etc/nginx/conf.d/include/assets.conf

@@ -1,4 +1,4 @@
-location ~* ^.*\.(css|js|jpe?g|gif|png|webp|woff|eot|ttf|svg|ico|css\.map|js\.map)$ {
+location ~* ^.*\.(css|js|jpe?g|gif|png|webp|woff|woff2|eot|ttf|svg|ico|css\.map|js\.map)$ {
 	if_modified_since off;
 
 	# use the public cache