nginx配置转发日志
http{
include mime.types;
default_type application/octet-stream;
log_format main****
' $remote_user [$time_local] $http_x_Forwarded_for $remote_addr $request '
'$http_x_forwarded_for '
'$upstream_addr '
'ups_resp_time: $upstream_response_time '
'request_time: $request_time';
access_log logs/access.log main;
server{......}
server{......}
}