nginx配置静态资源关闭访问日志 location ~ .*.(css|js|gif|png|jpg|jpeg|bmp|swf)$ { root $root_path; access_log off; }