Re: POST request body manipulation

2015-12-17 Thread pumbac
in my case, I can log the $request_body in the access_log via proxy_pass, even when uploading files more then 1MB. I just wanted to limit the size of the $request_body in the log. Here is my nginx.conf: http { include mime.types; default_type application/octet-stream; map $r

Re: POST request body manipulation

2015-12-16 Thread pumbac
I have the same requirement to map $request_body. $request_body is logging to my access_log correctly via proxy_pass setting. I need to map $request_body to determine which part of it should be logged, as sometime it is too large to be logged, like uploading files. any suggestions? Posted at Ng