changeset 651:eba81bfb6aaf

Documented the "http" directive.
author Vladimir Homutov <vl@nginx.com>
date Wed, 22 Aug 2012 12:49:05 +0000
parents 26613f012ec8
children 8f8b38126ce0
files xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml
diffstat 2 files changed, 28 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml	Tue Aug 21 13:19:56 2012 +0000
+++ b/xml/en/docs/http/ngx_http_core_module.xml	Wed Aug 22 12:49:05 2012 +0000
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="2">
+        rev="3">
 
 <section id="directives" name="Directives">
 
@@ -640,6 +640,19 @@
 </directive>
 
 
+<directive name="http">
+<syntax block="yes"/>
+<default/>
+<context>main</context>
+
+<para>
+Provides a configuration file context in which the HTTP server directives
+are specified.
+</para>
+
+</directive>
+
+
 <directive name="if_modified_since">
 <syntax>
     <literal>off</literal> |
--- a/xml/ru/docs/http/ngx_http_core_module.xml	Tue Aug 21 13:19:56 2012 +0000
+++ b/xml/ru/docs/http/ngx_http_core_module.xml	Wed Aug 22 12:49:05 2012 +0000
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_core_module"
         link="/ru/docs/http/ngx_http_core_module.html"
         lang="ru"
-        rev="2">
+        rev="3">
 
 <section id="directives" name="Директивы">
 
@@ -628,6 +628,19 @@
 </directive>
 
 
+<directive name="http">
+<syntax block="yes"/>
+<default/>
+<context>main</context>
+
+<para>
+Предоставляет контекст конфигурационного файла, в котором указываются
+директивы HTTP-сервера.
+</para>
+
+</directive>
+
+
 <directive name="if_modified_since">
 <syntax>
     <literal>off</literal> |