Commit e6f8adac authored by xuezj's avatar xuezj

修复html缓存问题

parent 7dc44176
...@@ -11,7 +11,7 @@ server { ...@@ -11,7 +11,7 @@ server {
gzip_vary on; gzip_vary on;
location / { location / {
#expires -1; expires -1;
if ($request_filename ~ \.(css|js|png|gif|jpg|jpeg|bmp|ico)$) { if ($request_filename ~ \.(css|js|png|gif|jpg|jpeg|bmp|ico)$) {
expires 30d; expires 30d;
} }
......
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