HTTP mirror directives

mirror_request_body (http-mirror)

Controls reading the original body for mirroring; default on.

Formal Syntax & Structure

nginx syntaxnginx
mirror_request_body on | off;

Parameters & Attributes

NameTypeDescription
stateon | offDefault on: include request body in mirror, requiring body read before mirror creation. Off does not automatically remove sensitive headers.

Working Example

Example Snippetnginx
mirror_request_body off;
Nginx Reference