comparison xml/ru/docs/http/ngx_http_ssl_module.xml @ 2618:0b98a81f196b

Documented the ssl_reject_handshake directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 27 Oct 2020 22:07:25 +0000
parents d8bf37d20449
children 78161967514f
comparison
equal deleted inserted replaced
2617:6684517c9d19 2618:0b98a81f196b
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Модуль ngx_http_ssl_module" 10 <module name="Модуль ngx_http_ssl_module"
11 link="/ru/docs/http/ngx_http_ssl_module.html" 11 link="/ru/docs/http/ngx_http_ssl_module.html"
12 lang="ru" 12 lang="ru"
13 rev="50"> 13 rev="51">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 Модуль <literal>ngx_http_ssl_module</literal> обеспечивает работу 18 Модуль <literal>ngx_http_ssl_module</literal> обеспечивает работу
607 </para> 607 </para>
608 608
609 </directive> 609 </directive>
610 610
611 611
612 <directive name="ssl_reject_handshake">
613 <syntax><literal>on</literal> | <literal>off</literal></syntax>
614 <default>off</default>
615 <context>http</context>
616 <context>server</context>
617 <appeared-in>1.19.4</appeared-in>
618
619 <para>
620 Если разрешено, то операции SSL handshake в
621 блоке <link doc="ngx_http_core_module.xml" id="server"/> будут отклонены.
622 </para>
623
624 <para>
625 Например в этой конфигурации отклоняются все операции SSL handshake с
626 именем сервера, отличным от <literal>example.com</literal>:
627 <example>
628 server {
629 listen 443 ssl;
630 ssl_reject_handshake on;
631 }
632
633 server {
634 listen 443 ssl;
635 server_name example.com;
636 ssl_certificate example.com.crt;
637 ssl_certificate_key example.com.key;
638 }
639 </example>
640 </para>
641
642 </directive>
643
644
612 <directive name="ssl_session_cache"> 645 <directive name="ssl_session_cache">
613 <syntax> 646 <syntax>
614 <literal>off</literal> | 647 <literal>off</literal> |
615 <literal>none</literal> | 648 <literal>none</literal> |
616 [<literal>builtin</literal>[:<value>размер</value>]] 649 [<literal>builtin</literal>[:<value>размер</value>]]