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{......}
}
nginx配置转发日志
最新推荐文章于 2024-07-21 19:08:07 发布