@openxy
2016-04-24T18:42:20.000000Z
字数 1427
阅读 3090
nginx
PHP
apt-get install goaccess
goaccess -f /var/log/nginx/access.log
# 查看proxy log
log_format upstreamlog '[$time_local] $remote_addr - $remote_user - $server_name to: $upstream_addr: $request upstream_response_time $upstream_response_time msec $msec request_time $request_time';
access_log /var/log/nginx/access.log upstreamlog;