Skip to content

Commit e229fa8

Browse files
authored
Merge pull request #2222 from mantoufan/add-webp-to-assets.conf-for-cache-assets
Add webp format to assets.conf for Cache Assets
2 parents d3b72ae + e1525e5 commit e229fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/rootfs/etc/nginx/conf.d/include/assets.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
location ~* ^.*\.(css|js|jpe?g|gif|png|woff|eot|ttf|svg|ico|css\.map|js\.map)$ {
1+
location ~* ^.*\.(css|js|jpe?g|gif|png|webp|woff|eot|ttf|svg|ico|css\.map|js\.map)$ {
22
if_modified_since off;
33

44
# use the public cache

0 commit comments

Comments
 (0)