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
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
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
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
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