comparison xml/en/docs/stream/ngx_stream_proxy_module.xml @ 2617:6684517c9d19

Documented the proxy_ssl_conf_command directive and friends.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 27 Oct 2020 22:03:37 +0000
parents 375a3dfde23b
children 7041bddec07d
comparison
equal deleted inserted replaced
2616:d8bf37d20449 2617:6684517c9d19
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
8 8
9 <module name="Module ngx_stream_proxy_module" 9 <module name="Module ngx_stream_proxy_module"
10 link="/en/docs/stream/ngx_stream_proxy_module.html" 10 link="/en/docs/stream/ngx_stream_proxy_module.html"
11 lang="en" 11 lang="en"
12 rev="25"> 12 rev="26">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 The <literal>ngx_stream_proxy_module</literal> module (1.9.0) allows proxying 17 The <literal>ngx_stream_proxy_module</literal> module (1.9.0) allows proxying
420 </para> 420 </para>
421 421
422 </directive> 422 </directive>
423 423
424 424
425 <directive name="proxy_ssl_conf_command">
426 <syntax><value>command</value></syntax>
427 <default/>
428 <context>stream</context>
429 <context>server</context>
430 <appeared-in>1.19.4</appeared-in>
431
432 <para>
433 Sets arbitrary OpenSSL configuration
434 <link url="https://www.openssl.org/docs/man1.1.1/man3/SSL_CONF_cmd.html">commands</link>
435 when establishing a connection with the proxied server.
436 <note>
437 The directive is supported when using OpenSSL 1.0.2 or higher.
438 </note>
439 </para>
440
441 <para>
442 Several <literal>proxy_ssl_conf_command</literal> directives
443 can be specified on the same level.
444 These directives are inherited from the previous configuration level
445 if and only if there are
446 no <literal>proxy_ssl_conf_command</literal> directives
447 defined on the current level.
448 </para>
449
450 <para>
451 <note>
452 Note that configuring OpenSSL directly
453 might result in unexpected behavior.
454 </note>
455 </para>
456
457 </directive>
458
459
425 <directive name="proxy_ssl_crl"> 460 <directive name="proxy_ssl_crl">
426 <syntax><value>file</value></syntax> 461 <syntax><value>file</value></syntax>
427 <default/> 462 <default/>
428 <context>stream</context> 463 <context>stream</context>
429 <context>server</context> 464 <context>server</context>