diff xml/en/docs/http/ngx_http_ssl_module.xml @ 2807:4b73197f8ca9

Documented the $ssl_curve variable for http and stream.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 24 Nov 2021 20:28:57 +0000
parents d16409187314
children 4add6ae1296f
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_ssl_module.xml	Mon Nov 29 10:45:07 2021 +0000
+++ b/xml/en/docs/http/ngx_http_ssl_module.xml	Wed Nov 24 20:28:57 2021 +0000
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_ssl_module"
         link="/en/docs/http/ngx_http_ssl_module.html"
         lang="en"
-        rev="55">
+        rev="56">
 
 <section id="summary">
 
@@ -1110,6 +1110,21 @@
 </note>
 </tag-desc>
 
+<tag-name id="var_ssl_curve"><var>$ssl_curve</var></tag-name>
+<tag-desc>
+returns the negotiated curve used for
+SSL handshake key exchange process (1.21.5).
+Known curves are listed by names, unknown are shown in hexadecimal,
+for example:
+<example>
+prime256v1
+</example>
+<note>
+The variable is supported only when using OpenSSL version 3.0 or higher.
+With older versions, the variable value will be an empty string.
+</note>
+</tag-desc>
+
 <tag-name id="var_ssl_curves"><var>$ssl_curves</var></tag-name>
 <tag-desc>
 returns the list of curves supported by the client (1.11.7).