From f4427442e027d292f570122c6cd7d99f24ff112b Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Tue, 11 Oct 2016 12:42:18 +0000 Subject: [PATCH] rename remote_addr field to src_ip --- installer/etc/nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/etc/nginx/nginx.conf b/installer/etc/nginx/nginx.conf index bc2ad42b..b7afe7a8 100644 --- a/installer/etc/nginx/nginx.conf +++ b/installer/etc/nginx/nginx.conf @@ -38,7 +38,7 @@ http { ## log_format le_json '{ "time": "$time_iso8601", ' - '"remote_addr": "$remote_addr", ' + '"src_ip": "$remote_addr", ' '"remote_user": "$remote_user", ' '"body_bytes_sent": "$body_bytes_sent", ' '"request_time": "$request_time", '