Add webp format to assets.conf for Cache Assets

This commit is contained in:
馒头饭 2022-08-26 03:47:06 +08:00
parent d2688cf08c
commit e1525e5d56

View File

@ -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