HTTP variables

$ssl_curves variable (HTTP TLS)

Client-supported key-exchange groups; unrecognized identifiers are hex. Distinguish advertised groups from the negotiated group. Version: 1.11.7. Requires HTTP SSL module and appropriate TLS library. Fresh sessions only; OpenSSL 1.0.2+ 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_curves

Working Example

Example Snippetnginx
# Partial http-context example: classify synthetic TLS metadata without emitting raw values.map $ssl_curves $lab_tls_curves {    "" 0;    default 1;}
Nginx Reference