HTTP variables

$ssl_session_reused variable (HTTP TLS)

Value r for resumed TLS sessions, dot otherwise. Resumption and HTTP keepalive are different mechanisms. Version: 1.5.11. Requires HTTP SSL module and appropriate TLS library. No positional arguments. The example is an http-context map; use only in a disposable TLS lab. A map classification is not authorization.

Formal Syntax & Structure

nginx syntaxnginx
$ssl_session_reused

Working Example

Example Snippetnginx
# Partial http-context example: classify synthetic TLS metadata without emitting raw values.map $ssl_session_reused $lab_tls_session_reused {    r resumed;    "." fresh;    default unknown;}
Nginx Reference