awstat分析nginx日志

 

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;
}

 

 

 

posted @ 2016-07-20 20:31  _毛台  阅读(235)  评论(0编辑  收藏  举报