您的位置:首页 > 运维架构 > Nginx

awstat分析nginx日志

2016-07-20 20:31 525 查看
awstat分析nginx日志

http://lxw66.blog.51cto.com/5547576/1323712

server{
listen 8080;
server_name localhost;
index index.html index.htmindex.php default.html default.htm default.php;
root  /home/www/awstats;
location ~ ^/awstats/ {    #html静态页面目录
root   /home/www/awstats;
index  index.html;
access_log off;
}

location ^~ /icon/ {    #图标目录
root   /usr/local/awstats/wwwroot;
index  index.html;
access_log off;
}

utoindex on;        #开启目录浏览功能
access_log off;
}




内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: