changeset 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 ff8eeb6ac833
children 091bba61c646
files xml/en/docs/http/ngx_http_ssl_module.xml xml/ru/docs/http/ngx_http_ssl_module.xml
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_ssl_module.xml
+++ b/xml/en/docs/http/ngx_http_ssl_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_ssl_module"
         link="/en/docs/http/ngx_http_ssl_module.html"
         lang="en"
-        rev="52">
+        rev="53">
 
 <section id="summary">
 
@@ -631,7 +631,7 @@ For example, in the following configurat
 server names other than <literal>example.com</literal> are rejected:
 <example>
 server {
-    listen               443 ssl;
+    listen               443 ssl default_server;
     ssl_reject_handshake on;
 }
 
--- a/xml/ru/docs/http/ngx_http_ssl_module.xml
+++ b/xml/ru/docs/http/ngx_http_ssl_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_ssl_module"
         link="/ru/docs/http/ngx_http_ssl_module.html"
         lang="ru"
-        rev="52">
+        rev="53">
 
 <section id="summary">
 
@@ -636,7 +636,7 @@ http {
 именем сервера, отличным от <literal>example.com</literal>:
 <example>
 server {
-    listen               443 ssl;
+    listen               443 ssl default_server;
     ssl_reject_handshake on;
 }