Update site.py

This commit is contained in:
dami
2026-04-03 21:47:02 +08:00
parent d92dae066d
commit ea5df706a8
+2 -2
View File
@@ -1543,7 +1543,7 @@ location ^~ {from} {\n\
# PROXY-END"
tpl_proxy_cache = "\n\
if ( $uri ~* \\.(gif|png|jpg|jpeg|css|js|ttf|woff|woff2)$ )\n\
if ( $uri ~* \\.(gif|png|jpg|jpeg|css|js|svg|ttf|woff|woff2)$ )\n\
{\n\
expires {cache_time}m;\n\
}\n\
@@ -1554,7 +1554,7 @@ location ^~ {from} {\n\
"
tpl_proxy_nocache_bak = "\n\
set $static_files_app 0; \n\
if ( $uri ~* \\.(gif|png|jpg|jpeg|css|js|ttf|woff|woff2)$ )\n\
if ( $uri ~* \\.(gif|png|jpg|jpeg|css|js|svg|ttf|woff|woff2)$ )\n\
{\n\
set $static_files_app 1;\n\
expires 12h;\n\