changeset 1167:cac06b81957c

Documented the $ssl_server_name variable.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 24 Apr 2014 09:02:47 +0400
parents 1d299c6f7c49
children 384bb0349a8a
files xml/en/docs/http/ngx_http_ssl_module.xml xml/ru/docs/http/ngx_http_ssl_module.xml
diffstat 2 files changed, 16 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_ssl_module.xml	Thu Apr 24 09:10:31 2014 +0400
+++ b/xml/en/docs/http/ngx_http_ssl_module.xml	Thu Apr 24 09:02:47 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_ssl_module"
         link="/en/docs/http/ngx_http_ssl_module.html"
         lang="en"
-        rev="13">
+        rev="14">
 
 <section id="summary">
 
@@ -713,6 +713,13 @@
 returns the protocol of an established SSL connection;
 </tag-desc>
 
+<tag-name id="var_ssl_server_name"><var>$ssl_server_name</var></tag-name>
+<tag-desc>
+returns the server name requested through
+<link url="http://en.wikipedia.org/wiki/Server_Name_Indication">SNI</link>
+(1.7.0);
+</tag-desc>
+
 <tag-name id="var_ssl_session_id"><var>$ssl_session_id</var></tag-name>
 <tag-desc>
 returns the session identifier of an established SSL connection;
--- a/xml/ru/docs/http/ngx_http_ssl_module.xml	Thu Apr 24 09:10:31 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_ssl_module.xml	Thu Apr 24 09:02:47 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_ssl_module"
         link="/ru/docs/http/ngx_http_ssl_module.html"
         lang="ru"
-        rev="13">
+        rev="14">
 
 <section id="summary">
 
@@ -712,6 +712,13 @@
 возвращает протокол установленного SSL-соединения;
 </tag-desc>
 
+<tag-name id="var_ssl_server_name"><var>$ssl_server_name</var></tag-name>
+<tag-desc>
+возвращает имя сервера, запрошенное через
+<link url="http://en.wikipedia.org/wiki/Server_Name_Indication">SNI</link>
+(1.7.0);
+</tag-desc>
+
 <tag-name id="var_ssl_session_id"><var>$ssl_session_id</var></tag-name>
 <tag-desc>
 возвращает идентификатор сессии установленного SSL-соединения;