log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; $remote_addr #表示客户端地址 $remote_user #http客户端请求nginx认证用户名 $time_local #Nginx的时间 $request #Request请求行, GET等方法、http协议版本 $status #respoence返回状态码 $body_bytes_sent #从服务端响应给客户端body信息大小 $http_referer #http上一级页面, 防盗链、用户行为分析 $http_user_agent #http头部信息, 客户端访问设备 $http_x_forwarded_for #http请求携带的http信息
你可能也喜欢————

本站已稳定运行 980 天