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

Add webp format to assets.conf for Cache Assets
This commit is contained in:
jc21 2022-11-08 13:12:13 +10:00 committed by GitHub
commit e229fa89f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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; if_modified_since off;
# use the public cache # use the public cache