|
|
@ -1532,7 +1532,7 @@ location ^~ {from} {\n\ |
|
|
|
# PROXY-END" |
|
|
|
# PROXY-END" |
|
|
|
|
|
|
|
|
|
|
|
tpl_proxy_cache = "\n\ |
|
|
|
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\ |
|
|
|
{\n\ |
|
|
|
expires {cache_time}m;\n\ |
|
|
|
expires {cache_time}m;\n\ |
|
|
|
}\n\ |
|
|
|
}\n\ |
|
|
@ -1544,7 +1544,7 @@ location ^~ {from} {\n\ |
|
|
|
|
|
|
|
|
|
|
|
tpl_proxy_nocache = "\n\ |
|
|
|
tpl_proxy_nocache = "\n\ |
|
|
|
set $static_files_app 0; \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\ |
|
|
|
{\n\ |
|
|
|
set $static_files_app 1;\n\ |
|
|
|
set $static_files_app 1;\n\ |
|
|
|
expires 12h;\n\ |
|
|
|
expires 12h;\n\ |
|
|
|