nginx log format

log_format main '$remote_addr - $remote_user $time_local "$request_method http://$host$request_uri HTTP/1.1" $status $bytes_sent "$http_referer" "$http_user_agent" TCP_HIT:NONE $request_time';
log_format miss '$remote_addr - $remote_user $time_local "$request_method http://$host$request_uri HTTP/1.1" $status $bytes_sent "$http_referer" "$http_user_agent" TCP_MISS:NONE $request_time';

 

posted @ 2013-07-03 16:12  sunsweet  阅读(207)  评论(0编辑  收藏  举报