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