Mercurial > hg > nginx-site
comparison xml/en/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="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="21"> | 13 rev="22"> |
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 |
150 virtual servers should listen on different IP addresses: | 150 virtual servers should listen on different IP addresses: |
151 <example> | 151 <example> |
152 server { | 152 server { |
153 listen 192.168.1.1:443; | 153 listen 192.168.1.1:443; |
154 server_name one.example.com; | 154 server_name one.example.com; |
155 ssl_certificate /usr/local/nginx/conf/one.example.com.cert; | 155 ssl_certificate one.example.com.crt; |
156 ... | 156 ... |
157 } | 157 } |
158 | 158 |
159 server { | 159 server { |
160 listen 192.168.1.2:443; | 160 listen 192.168.1.2:443; |
161 server_name two.example.com; | 161 server_name two.example.com; |
162 ssl_certificate /usr/local/nginx/conf/two.example.com.cert; | 162 ssl_certificate two.example.com.crt; |
163 ... | 163 ... |
164 } | 164 } |
165 </example> | 165 </example> |
166 otherwise | 166 otherwise |
167 <link doc="configuring_https_servers.xml" | 167 <link doc="configuring_https_servers.xml" |