HTTP variables
$upstream_response_length variable (HTTP)
Length of the backend response per attempt. Compare with bytes delivered to the client after proxy transformations. Version: 0.7.27. bytes; retries or group changes may produce lists No positional arguments. Example: partial http configuration for a disposable synthetic lab; not a complete deployment.
Formal Syntax & Structure
nginx syntaxnginx
$upstream_response_lengthWorking Example
Example Snippetnginx
# Classify presence without emitting raw backend metadata.map $upstream_response_length $lab_seen_upstream_response_length { "" absent; default present;}