Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_rewrite_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 | 40eec261c2a6 |
comparison
equal
deleted
inserted
replaced
107:ee725af08951 | 108:72524ae53106 |
---|---|
48 | 48 |
49 </directive> | 49 </directive> |
50 | 50 |
51 | 51 |
52 <directive name="if"> | 52 <directive name="if"> |
53 <syntax>(<value>условие</value>) { ... }</syntax> | 53 <syntax block="yes">(<value>условие</value>)</syntax> |
54 <default/> | 54 <default/> |
55 <context>server, location</context> | 55 <context>server, location</context> |
56 | 56 |
57 <para> | 57 <para> |
58 Директива if проверяет истинность условия, если оно истинно, | 58 Директива if проверяет истинность условия, если оно истинно, |