HTTP variables
$upstream_bytes_received variable (HTTP)
Bytes read from each upstream attempt. Compare with client-delivered bytes rather than assuming equality. Version: 1.11.4. byte counts; retries and group changes can produce lists No positional arguments. Example: partial http configuration for a disposable synthetic lab; not a complete deployment.
Formal Syntax & Structure
nginx syntaxnginx
$upstream_bytes_receivedWorking Example
Example Snippetnginx
# Classify presence without emitting raw backend metadata.map $upstream_bytes_received $lab_seen_upstream_bytes_received { "" absent; default present;}