diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 9343736..5199c19 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -39,7 +39,7 @@ http { rewrite ^([^.]*[^/])$ $1/ permanent; try_files $uri $uri/ $uri/index.html =404; - location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ { + location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|webp)$ { expires 30d; add_header Cache-Control "public, no-transform"; }