From 0f8f844a66ff7e4f2d3efccc115d0395958eb6a3 Mon Sep 17 00:00:00 2001 From: stuppie Date: Mon, 14 Sep 2026 11:17:17 -0600 Subject: store request_body in nginx logs --- nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index d58f4b1..d02177a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -18,6 +18,7 @@ http { '"forwarded_for":"$http_x_forwarded_for",' '"method":"$request_method",' '"request":"$request",' + '"request_body":"$request_body",' '"request_length":"$request_length",' '"status":"$status",' '"bytes_sent":"$bytes_sent",' @@ -36,4 +37,4 @@ http { access_log /var/log/nginx/access.log json_logs; error_log /var/log/nginx/error.log; -} \ No newline at end of file +} -- cgit v1.2.3