Mercurial > hg > nginx-site
changeset 476:4070589eebce
In "listen", specifying "ssl" doesn't require specifying "default".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 02 Apr 2012 07:46:35 +0000 |
parents | cfc69ee2f0a0 |
children | c5680571ec09 |
files | xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml +++ b/xml/en/docs/http/ngx_http_core_module.xml @@ -1229,7 +1229,7 @@ This allows for a more compact configura in both HTTP and HTTPS modes simultaneously. <example> listen 80; -listen 443 default ssl; +listen 443 ssl; </example> </tag-desc>
--- a/xml/ru/docs/http/ngx_http_core_module.xml +++ b/xml/ru/docs/http/ngx_http_core_module.xml @@ -1095,7 +1095,6 @@ listen unix:/var/run/nginx.sock; Если же директив с параметром <literal>default_server</literal> нет, то сервером по умолчанию будет первый сервер, в котором описана пара <value>адрес</value>:<value>порт</value>. -адрес:порт. <note> До версии 0.8.21 этот параметр назывался просто <literal>default</literal>. @@ -1210,7 +1209,7 @@ listen unix:/var/run/nginx.sock; работающего сразу в двух режимах — HTTP и HTTPS. <example> listen 80; -listen 443 default ssl; +listen 443 ssl; </example> </tag-desc>