HTTP variables
$ssl_curve variable (HTTP TLS)
Selected handshake key-exchange group, with unfamiliar identifiers in hex. It is not necessarily the certificate public-key curve. Version: 1.21.5. Requires HTTP SSL module and appropriate TLS library. OpenSSL 3.0+ required for a nonempty result. 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_curveWorking Example
Example Snippetnginx
# Partial http-context example: classify synthetic TLS metadata without emitting raw values.map $ssl_curve $lab_tls_curve { "" 0; default 1;}