diff --git a/global/server/static-files.conf b/global/server/static-files.conf index da52a95..c3cdd29 100644 --- a/global/server/static-files.conf +++ b/global/server/static-files.conf @@ -9,7 +9,7 @@ location ~* \.(?:rss|atom)$ { } # Caches images, icons, video, audio, HTC, etc. -location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ { +location ~* \.(?:jpg|jpeg|gif|png|webp|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ { expires 1y; access_log off; } @@ -39,4 +39,4 @@ location = /robots.txt { try_files $uri $uri/ /index.php?$args; access_log off; log_not_found off; -} \ No newline at end of file +}