/read-request-body-nginx-module

Nginx module to read request body

Primary LanguageC

Module ngx_http_read_request_body_module

The ngx_http_read_request_body_module module allows gain access to $request_body variable, even if not of *_pass (proxy_pass, fastcgi_pass, etc.) directives is being used in current location

Configuration example

location / {
    read_request_body;
}

Directives

Syntax:  read_request_body;
Default: —
Context: server, location

Read request body and made available $request_body variable.

Note: $request_body sets if only it's size less than client_body_buffer_size. For more information: official documentation.