Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_ssl_module.xml @ 2718:fb41de2d765a
Added default_server to ssl_reject_handshake example.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 04 May 2021 20:50:55 +0100 |
parents | 78161967514f |
children | ff357b676c2e |
comparison
equal
deleted
inserted
replaced
2717:ff8eeb6ac833 | 2718:fb41de2d765a |
---|---|
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="52"> | 13 rev="53"> |
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> обеспечивает работу |
634 <para> | 634 <para> |
635 Например в этой конфигурации отклоняются все операции SSL handshake с | 635 Например в этой конфигурации отклоняются все операции SSL handshake с |
636 именем сервера, отличным от <literal>example.com</literal>: | 636 именем сервера, отличным от <literal>example.com</literal>: |
637 <example> | 637 <example> |
638 server { | 638 server { |
639 listen 443 ssl; | 639 listen 443 ssl default_server; |
640 ssl_reject_handshake on; | 640 ssl_reject_handshake on; |
641 } | 641 } |
642 | 642 |
643 server { | 643 server { |
644 listen 443 ssl; | 644 listen 443 ssl; |