HTTP variables

$ssl_early_data variable (HTTP TLS)

Value 1 during TLS 1.3 early data before handshake completion, otherwise empty. Early requests may be replayed; leave early data disabled unless application policy handles replay. Version: 1.15.3. 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_early_data

Working Example

Example Snippetnginx
# Partial http-context example: classify synthetic TLS metadata without emitting raw values.map $ssl_early_data $lab_tls_early_data {    1 early;    default not_early;}
Nginx Reference