diff --git a/conf/nginx.conf b/conf/nginx.conf index 3d0d3e1..714cd7c 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,5 @@ location ~* \.(jpg|jpeg|png|gif|ico|js|pdf)$ { - root __FINALPATH__/__NAME__ + root __FINALPATH__/__NAME__; add_header Cache-Control "public"; expires 7d; }