Mercurial > hg > nginx-site
diff xml/en/docs/mail/ngx_mail_ssl_module.xml @ 2616:d8bf37d20449
Documented the ssl_conf_command directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 27 Oct 2020 22:03:34 +0000 |
parents | 8e35f3af574b |
children | 78161967514f |
line wrap: on
line diff
--- a/xml/en/docs/mail/ngx_mail_ssl_module.xml Tue Oct 27 18:18:36 2020 +0300 +++ b/xml/en/docs/mail/ngx_mail_ssl_module.xml Tue Oct 27 22:03:34 2020 +0000 @@ -10,7 +10,7 @@ <module name="Module ngx_mail_ssl_module" link="/en/docs/mail/ngx_mail_ssl_module.html" lang="en" - rev="20"> + rev="21"> <section id="summary"> @@ -238,6 +238,43 @@ </directive> +<directive name="ssl_conf_command"> +<syntax><value>command</value></syntax> +<default/> +<context>mail</context> +<context>server</context> +<appeared-in>1.19.4</appeared-in> + +<para> +Sets arbitrary OpenSSL configuration +<link url="https://www.openssl.org/docs/man1.1.1/man3/SSL_CONF_cmd.html">commands</link>. +<note> +The directive is supported when using OpenSSL 1.0.2 or higher. +</note> +</para> + +<para> +Several <literal>ssl_conf_command</literal> directives +can be specified on the same level: +<example> +ssl_conf_command Options PrioritizeChaCha; +ssl_conf_command Ciphersuites TLS_CHACHA20_POLY1305_SHA256; +</example> +These directives are inherited from the previous configuration level +if and only if there are no <literal>ssl_conf_command</literal> directives +defined on the current level. +</para> + +<para> +<note> +Note that configuring OpenSSL directly +might result in unexpected behavior. +</note> +</para> + +</directive> + + <directive name="ssl_crl"> <syntax><value>file</value></syntax> <default/>