--下载:sudo apt-get install goaccess
--设置:goaccess access.log -o ../html/report.html --real-time-html --time-format='%H:%M:%S' --date-format='%d/%b/%Y' --log-format=COMBINED
WebSocket server ready to accept new client connections
--设置:sudo /etc/nginx/sites-available/default
server {
listen 8080;
access_log logs/access.log main;
location /report.html {
alias /usr/local/html/report.html
}
}