Commit 7dc44176 authored by xuezj's avatar xuezj

前端静态资源增加缓存时间

parent 90256e8f
......@@ -11,7 +11,10 @@ server {
gzip_vary on;
location / {
expires -1;
#expires -1;
if ($request_filename ~ \.(css|js|png|gif|jpg|jpeg|bmp|ico)$) {
expires 30d;
}
set_by_lua $rootPath '
local pre = "/home/quant_group/";
local sys = os.getenv("SYSTEM_NAME");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment