HTTP directives

rewrite_log directive (HTTP)

HTTP, server, location or if context; default off. Writes rewrite diagnostics at notice severity. Use controlled synthetic traffic.

Formal Syntax & Structure

nginx syntaxnginx
rewrite_log on | off;

Parameters & Attributes

NameTypeDescription
settingstringon or off

Working Example

Example Snippetnginx
rewrite_log on;
Nginx Reference