Commit 05f8bfbb authored by Cameron Carney's avatar Cameron Carney

Updated log format for nginx

parent c344d3af
......@@ -11,9 +11,8 @@ events {
}
http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
log_format main 'src:"$remote_addr" time:"$time_local" req:"$request" '
'status:"$status" agent:"$http_user_agent" for:"$http_x_forwarded_for"';
access_log /dev/stdout main;
access_log /data/storage/logs/access.log main;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment