diff options
| author | stuppie | 2026-09-14 11:17:17 -0600 |
|---|---|---|
| committer | stuppie | 2026-09-14 11:17:17 -0600 |
| commit | 0f8f844a66ff7e4f2d3efccc115d0395958eb6a3 (patch) | |
| tree | b7961486e891f348ac57c891ebeb6295257e12b2 | |
| parent | c9763181c32ec3e150f1d1b73ac1c4287cb646f5 (diff) | |
| download | amt-jb-0f8f844a66ff7e4f2d3efccc115d0395958eb6a3.tar.gz amt-jb-0f8f844a66ff7e4f2d3efccc115d0395958eb6a3.zip | |
store request_body in nginx logs
| -rw-r--r-- | nginx.conf | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 +} |
