diff xml/en/docs/http/server_names.xml @ 645:bb450e295ca2

Translated "Server names" into Russian and slightly changed original layout.
author Vladimir Homutov <vl@nginx.com>
date Fri, 17 Aug 2012 07:15:00 +0000
parents af3f38e349eb
children 77a3314c74a7
line wrap: on
line diff
--- a/xml/en/docs/http/server_names.xml	Fri Aug 17 06:40:50 2012 +0000
+++ b/xml/en/docs/http/server_names.xml	Fri Aug 17 07:15:00 2012 +0000
@@ -227,6 +227,9 @@
 nginx versions up to 0.8.48 used the machine’s hostname as the server name
 in this case.
 </note>
+</para>
+
+<para>
 If a server name is defined as “<literal>$hostname</literal>” (0.9.4), the
 machine’s hostname is used.
 </para>
@@ -380,7 +383,7 @@
 directives at the <i>http</i> level may become necessary.
 The default value of the
 <link doc="ngx_http_core_module.xml" id="server_names_hash_bucket_size"/>
-may be equal to 32, or 64, or another value,
+directive may be equal to 32, or 64, or another value,
 depending on CPU cache line size.
 If the default value is 32 and server name is defined as
 “<literal>too.long.server.name.example.org</literal>”
@@ -420,9 +423,7 @@
 If a server is the only server for a listen port, then nginx will not test
 server names at all (and will not build the hash tables for the listen port).
 However, there is one exception.
-If a
-<link doc="ngx_http_core_module.xml" id="server_name"/>
-is a regular expression with captures,
+If a server name is a regular expression with captures,
 then nginx has to execute the expression to get the captures.
 </para>