changeset 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 ce3e89d13fa0
children a0bc284941f6
files xml/en/docs/http/ngx_http_ssl_module.xml xml/ru/docs/http/ngx_http_ssl_module.xml
diffstat 2 files changed, 6 insertions(+), 6 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="21">
+        rev="22">
 
 <section id="summary">
 
@@ -152,14 +152,14 @@ virtual servers should listen on differe
 server {
     listen          192.168.1.1:443;
     server_name     one.example.com;
-    ssl_certificate /usr/local/nginx/conf/one.example.com.cert;
+    ssl_certificate one.example.com.crt;
     ...
 }
 
 server {
     listen          192.168.1.2:443;
     server_name     two.example.com;
-    ssl_certificate /usr/local/nginx/conf/two.example.com.cert;
+    ssl_certificate two.example.com.crt;
     ...
 }
 </example>
--- 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="21">
+        rev="22">
 
 <section id="summary">
 
@@ -153,14 +153,14 @@ ssl_buffer_size 4k;
 server {
     listen          192.168.1.1:443;
     server_name     one.example.com;
-    ssl_certificate /usr/local/nginx/conf/one.example.com.cert;
+    ssl_certificate one.example.com.crt;
     ...
 }
 
 server {
     listen          192.168.1.2:443;
     server_name     two.example.com;
-    ssl_certificate /usr/local/nginx/conf/two.example.com.cert;
+    ssl_certificate two.example.com.crt;
     ...
 }
 </example>