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
| Name | Type | Description |
|---|---|---|
| state | on | off | Default 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;