location ~ .*\.(css|js|gif|png|jpg|jpeg|bmp|swf)$ {
root $root_path;
access_log off;
}
nginx配置静态资源关闭访问日志
·
转载于:https://www.cnblogs.com/dongruiha/p/7008041.html
更多推荐
location ~ .*\.(css|js|gif|png|jpg|jpeg|bmp|swf)$ {
root $root_path;
access_log off;
}
转载于:https://www.cnblogs.com/dongruiha/p/7008041.html
更多推荐
所有评论(0)