HTTP variables

$tcpinfo_rtt variable (HTTP)

TCP_INFO round-trip estimate for the client TCP connection, where supported. It is not the application request duration; may be unavailable on non-TCP transports. Version: Introduction not established. OSS documentation; verify build. No positional directive arguments. Example is a partial configuration fragment for a disposable synthetic lab; not a production logging policy.

Formal Syntax & Structure

nginx syntaxnginx
$tcpinfo_rtt

Working Example

Example Snippetnginx
# Partial http-context example: isolated synthetic requests only; no real user data.log_format lab_tcpinfo_rtt escape=json '{"observed":"$tcpinfo_rtt"}';
Nginx Reference