Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_ssl_module.xml @ 1725:67b5aac350e4
Example in ssl_certificate description updated.
It is basically the same example as in "Name-based HTTPS servers",
updated it to match. That is, paths are changed to relative ones,
and ".crt" extension used instead of ".cert".
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 07 Jun 2016 19:00:39 +0300 |
parents | 38fb3e6b71e8 |
children | a0bc284941f6 |
comparison
equal
deleted
inserted
replaced
1724:ce3e89d13fa0 | 1725:67b5aac350e4 |
---|---|
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="21"> | 13 rev="22"> |
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> обеспечивает работу |
151 виртуальные серверы должны слушать на разных IP-адресах: | 151 виртуальные серверы должны слушать на разных IP-адресах: |
152 <example> | 152 <example> |
153 server { | 153 server { |
154 listen 192.168.1.1:443; | 154 listen 192.168.1.1:443; |
155 server_name one.example.com; | 155 server_name one.example.com; |
156 ssl_certificate /usr/local/nginx/conf/one.example.com.cert; | 156 ssl_certificate one.example.com.crt; |
157 ... | 157 ... |
158 } | 158 } |
159 | 159 |
160 server { | 160 server { |
161 listen 192.168.1.2:443; | 161 listen 192.168.1.2:443; |
162 server_name two.example.com; | 162 server_name two.example.com; |
163 ssl_certificate /usr/local/nginx/conf/two.example.com.cert; | 163 ssl_certificate two.example.com.crt; |
164 ... | 164 ... |
165 } | 165 } |
166 </example> | 166 </example> |
167 иначе для второго сайта будет выдаваться | 167 иначе для второго сайта будет выдаваться |
168 <link doc="configuring_https_servers.xml" | 168 <link doc="configuring_https_servers.xml" |