HTTP variables
$status variable (HTTP core)
Response status recorded for the client. Distinct from upstream attempt status.
Formal Syntax & Structure
nginx syntaxnginx
$statusWorking Example
Example Snippetnginx
log_format sample '$status';# Illustrative value: 200