Mercurial > hg > nginx-site
annotate xml/ru/docs/syntax.xml @ 697:5d939bef335c
nginx-1.3.7
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 02 Oct 2012 13:49:39 +0000 |
parents | 67826df692cc |
children | e1593207d1cb |
rev | line source |
---|---|
580
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
123
diff
changeset
|
1 <!-- |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
123
diff
changeset
|
2 Copyright (C) Igor Sysoev |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
123
diff
changeset
|
3 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
123
diff
changeset
|
4 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
123
diff
changeset
|
5 |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
7 |
681
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
8 <article name="Единицы измерения в конфигурационном файле" |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
9 link="/ru/docs/syntax.html" |
589 | 10 lang="ru" |
681
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
11 rev="2"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
12 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
13 <section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
14 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
15 <para> |
681
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
16 Размеры можно указывать в килобайтах (<literal>k</literal>, |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
17 <literal>K</literal>) и мегабайтах (<literal>m</literal>, |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
18 <literal>M</literal>), например, “<literal>8k</literal>”, |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
19 “<literal>1m</literal>”. |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
20 Если суффикс не указан, то значение задано в байтах. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
21 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
22 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
23 <para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
24 Время можно указывать в минутах, часах, днях и так далее: |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
25 <table width="30%"> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
26 <tr><td width="20%">s</td><td>секунды</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
27 <tr><td width="20%">m</td><td>минуты</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
28 <tr><td width="20%">h</td><td>часы</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
29 <tr><td width="20%">d</td><td>дни</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
30 <tr><td width="20%">w</td><td>недели</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
31 <tr><td width="20%">M</td><td>месяцы, 30 дней</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
32 <tr><td width="20%">y</td><td>годы, 365 дней</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
33 </table> |
681
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
34 </para> |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
35 |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
36 <para> |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
37 например, “<literal>1h 30m</literal>”, “<literal>1y 6M</literal>”. |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
38 Также в некоторых директивах возможно указать время |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
39 с точностью до миллисекунд (<literal>ms</literal>). |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
40 Если суффикс не указан, то значение задано в секундах. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
41 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
42 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
43 </section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
44 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
45 </article> |