by nodesocket · 9y ago · 0 comments
log_format main '<$host> $remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';There are also a lot of log formatting q&a in the github issues (both closed & open) if you're using a popular format.