aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuppie2026-09-14 11:17:17 -0600
committerstuppie2026-09-14 11:17:17 -0600
commit0f8f844a66ff7e4f2d3efccc115d0395958eb6a3 (patch)
treeb7961486e891f348ac57c891ebeb6295257e12b2
parentc9763181c32ec3e150f1d1b73ac1c4287cb646f5 (diff)
downloadamt-jb-0f8f844a66ff7e4f2d3efccc115d0395958eb6a3.tar.gz
amt-jb-0f8f844a66ff7e4f2d3efccc115d0395958eb6a3.zip
store request_body in nginx logs
-rw-r--r--nginx.conf3
1 files changed, 2 insertions, 1 deletions
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
+}