From 81266a1c687150346217ea47bd5d5a39d3e8003b Mon Sep 17 00:00:00 2001 From: Igor Razumny Date: Fri, 30 May 2025 16:41:45 +0300 Subject: [PATCH] woff2 added to static files block --- vhostmaker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vhostmaker.sh b/vhostmaker.sh index 1ec13cc..2542cb5 100644 --- a/vhostmaker.sh +++ b/vhostmaker.sh @@ -63,7 +63,7 @@ echo "server { include fastcgi_params; } #static files caching - location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|css|js|webp)$ { + location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|woff2|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|css|js|webp)$ { access_log off; log_not_found off; expires 8d;