comparison xml/en/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 16f6fa718be2
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="Module ngx_http_ssl_module" 10 <module name="Module ngx_http_ssl_module"
11 link="/en/docs/http/ngx_http_ssl_module.html" 11 link="/en/docs/http/ngx_http_ssl_module.html"
12 lang="en" 12 lang="en"
13 rev="52"> 13 rev="53">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_ssl_module</literal> module provides the 18 The <literal>ngx_http_ssl_module</literal> module provides the
629 <para> 629 <para>
630 For example, in the following configuration, SSL handshakes with 630 For example, in the following configuration, SSL handshakes with
631 server names other than <literal>example.com</literal> are rejected: 631 server names other than <literal>example.com</literal> are rejected:
632 <example> 632 <example>
633 server { 633 server {
634 listen 443 ssl; 634 listen 443 ssl default_server;
635 ssl_reject_handshake on; 635 ssl_reject_handshake on;
636 } 636 }
637 637
638 server { 638 server {
639 listen 443 ssl; 639 listen 443 ssl;