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-17 Thread Valentin V. Bartenev
On Thursday 17 December 2015 14:51:49 Valentin V. Bartenev wrote: > On Thursday 23 April 2015 18:52:00 Sandro Bordacchini wrote: > > Hello everyone, > > > > i have a problem in configuring Nginx. > > > > I have a location that serves as a proxy for a well-specified url "/login". > > This location

Re: POST request body manipulation

2015-12-17 Thread Valentin V. Bartenev
On Thursday 23 April 2015 18:52:00 Sandro Bordacchini wrote: > Hello everyone, > > i have a problem in configuring Nginx. > > I have a location that serves as a proxy for a well-specified url "/login". > This location can receive both GET and POST request. > GET request have no body and should be

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

POST request body manipulation

2015-04-23 Thread Sandro Bordacchini
Hello everyone, i have a problem in configuring Nginx. I have a location that serves as a proxy for a well-specified url "/login". This location can receive both GET and POST request. GET request have no body and should be proxied to a default and well-know host. POST request contains the host