Explorar el Código

Add webp format to assets.conf for Cache Assets

馒头饭 hace 3 años
padre
commit
e1525e5d56
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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