diff xml/ru/docs/http/ngx_http_index_module.xml @ 351:a4fa80755eab

Consistently strip initial offset in examples.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 24 Jan 2012 11:01:22 +0000
parents f28abb2ea638
children aef88cb1d75c
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_index_module.xml
+++ b/xml/ru/docs/http/ngx_http_index_module.xml
@@ -20,9 +20,9 @@
 
 <para>
 <example>
-    location / {
-        index index.$geo.html index.html;
-    }
+location / {
+    index index.$geo.html index.html;
+}
 </example>
 </para>
 
@@ -45,7 +45,7 @@
 В конце списка может стоять файл с абсолютным путём.
 Пример:
 <example>
-    index index.$geo.html index.0.html /index.html;
+index index.$geo.html index.0.html /index.html;
 </example>
 </para>
 
@@ -55,13 +55,13 @@
 location’е.
 Например, в такой конфигурации:
 <example>
-    location  = /  {
-        index  index.html;
-    }
+location  = /  {
+    index  index.html;
+}
 
-    location  /  {
-        ...
-    }
+location  /  {
+    ...
+}
 </example>
 запрос “<literal>/</literal>” будет фактически обработан во
 втором location’е как “<literal>/index.html</literal>”.