From a9bc4fe9147278ef5790a743fe46b270058189ca Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 19 Dec 2024 14:21:39 +0800 Subject: [PATCH] Update site.py --- web/utils/site.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/utils/site.py b/web/utils/site.py index e364c9430..5ed12a196 100644 --- a/web/utils/site.py +++ b/web/utils/site.py @@ -1532,7 +1532,7 @@ location ^~ {from} {\n\ # PROXY-END" tpl_proxy_cache = "\n\ - if ( $uri ~* \\.(gif|png|jpg|css|js|ttf|woff|woff2)$\" )\n\ + if ( $uri ~* \\.(gif|png|jpg|jpeg|css|js|ttf|woff|woff2)$\" )\n\ {\n\ expires {cache_time}m;\n\ }\n\ @@ -1544,7 +1544,7 @@ location ^~ {from} {\n\ tpl_proxy_nocache = "\n\ set $static_files_app 0; \n\ - if ( $uri ~* \\.(gif|png|jpg|css|js|ttf|woff|woff2)$\" )\n\ + if ( $uri ~* \\.(gif|png|jpg|jpeg|css|js|ttf|woff|woff2)$\" )\n\ {\n\ set $static_files_app 1;\n\ expires 12h;\n\