首页 > 代码库 > Nginx日志格式

Nginx日志格式

 

1 log_format  main  "someTag" "versionInfo" "$remote_addr" "$host" "$time_iso8601" 2                   "$request_method" "$server_port" "$request_uri" "$server_protocol" 3                   "$status" "$body_bytes_sent" "$request_time" 4                   "$http_referer" "$http_user_agent";

 

Nginx日志格式