comparison xml/ru/docs/http/ngx_http_core_module.xml @ 108:72524ae53106

Explicitly marked directives with the block syntax. Such directives will have curly braces around their syntax and defaults appear automatically. Other directives will have a semicolon after their syntax and defaults.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 20 Oct 2011 07:47:21 +0000
parents 56457a474903
children bfe3eff81d04
comparison
equal deleted inserted replaced
107:ee725af08951 108:72524ae53106
526 526
527 </directive> 527 </directive>
528 528
529 529
530 <directive name="limit_except"> 530 <directive name="limit_except">
531 <syntax><value>методы</value> { ... }</syntax> 531 <syntax block="yes"><value>методы</value></syntax>
532 <default/> 532 <default/>
533 <context>location</context> 533 <context>location</context>
534 534
535 <para> 535 <para>
536 Директива ограничивает HTTP-методы, доступные внутри location. 536 Директива ограничивает HTTP-методы, доступные внутри location.
731 731
732 </directive> 732 </directive>
733 733
734 734
735 <directive name="location"> 735 <directive name="location">
736 <syntax>[<value>=|~|~*|^~|@</value>] <value>/uri/</value> 736 <syntax block="yes">[<value>=|~|~*|^~|@</value>] <value>/uri/</value>
737 { ... }</syntax> 737 </syntax>
738 <default/> 738 <default/>
739 <context>server</context> 739 <context>server</context>
740 740
741 <para> 741 <para>
742 Директива устанавливает конфигурацию в зависимости от URI запроса. 742 Директива устанавливает конфигурацию в зависимости от URI запроса.
1233 1233
1234 </directive> 1234 </directive>
1235 1235
1236 1236
1237 <directive name="server"> 1237 <directive name="server">
1238 <syntax>{ ... }</syntax> 1238 <syntax block="yes"/>
1239 <default/> 1239 <default/>
1240 <context>http</context> 1240 <context>http</context>
1241 1241
1242 <para> 1242 <para>
1243 Директива задаёт конфигурацию для виртуального сервера. 1243 Директива задаёт конфигурацию для виртуального сервера.
1600 1600
1601 </directive> 1601 </directive>
1602 1602
1603 1603
1604 <directive name="types"> 1604 <directive name="types">
1605 <syntax><value>{ ... }</value></syntax> 1605 <syntax block="yes"/>
1606 <default> 1606 <default>
1607 {
1608 text/html html; 1607 text/html html;
1609 image/gif gif; 1608 image/gif gif;
1610 image/jpeg jpg; 1609 image/jpeg jpg;
1611 }
1612 </default> 1610 </default>
1613 <context>http, server, location</context> 1611 <context>http, server, location</context>
1614 1612
1615 <para> 1613 <para>
1616 Директива задаёт соответствие расширения и MIME-типов ответов. 1614 Директива задаёт соответствие расширения и MIME-типов ответов.