Parcourir la source

Merge pull request #2222 from mantoufan/add-webp-to-assets.conf-for-cache-assets

Add webp format to assets.conf for Cache Assets
jc21 il y a 3 ans
Parent
commit
e229fa89f8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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|woff|eot|ttf|svg|ico|css\.map|js\.map)$ {
+location ~* ^.*\.(css|js|jpe?g|gif|png|webp|woff|eot|ttf|svg|ico|css\.map|js\.map)$ {
 	if_modified_since off;
 
 	# use the public cache