Mercurial > hg > nginx-site
annotate xml/ru/docs/syntax.xml @ 3017:f55e18559df9
Updated OpenSSL and zlib versions.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 03 Oct 2023 09:57:16 +0100 |
parents | e1593207d1cb |
children |
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" |
735
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
11 rev="3"> |
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> |
735
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
16 Размеры можно указывать в байтах, килобайтах |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
17 (суффиксы <literal>k</literal> и <literal>K</literal>) или мегабайтах |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
18 (суффиксы <literal>m</literal> и <literal>M</literal>), например, |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
19 “<literal>1024</literal>”, “<literal>8k</literal>”, “<literal>1m</literal>”. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
20 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
21 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
22 <para> |
735
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
23 Интервалы времени можно задавать в миллисекундах, секундах, |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
24 минутах, часах, днях и т.д., используя следующие суффиксы: |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
25 <table width="30%"> |
735
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
26 <tr><td width="20%">ms</td><td>миллисекунды</td></tr> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
27 <tr><td width="20%">s</td><td>секунды</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
28 <tr><td width="20%">m</td><td>минуты</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
29 <tr><td width="20%">h</td><td>часы</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
30 <tr><td width="20%">d</td><td>дни</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
31 <tr><td width="20%">w</td><td>недели</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
32 <tr><td width="20%">M</td><td>месяцы, 30 дней</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
33 <tr><td width="20%">y</td><td>годы, 365 дней</td></tr> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
34 </table> |
681
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
35 </para> |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
36 |
67826df692cc
Translated 'syntax' article into English and gave it a better name.
Vladimir Homutov <vl@nginx.com>
parents:
589
diff
changeset
|
37 <para> |
735
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
38 В одном значении можно комбинировать различные единицы, |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
39 указывая их в порядке от более к менее значащим, |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
40 и по желанию отделяя их пробелами. |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
41 Например, “<literal>1h 30m</literal>” задаёт то же время, |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
42 что и “<literal>90m</literal>” или “<literal>5400s</literal>”. |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
43 Значение без суффикса задаёт секунды. |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
44 Рекомендуется всегда указывать суффикс. |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
45 </para> |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
46 |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
47 <para> |
e1593207d1cb
Documented in more detail how time intervals are specified in nginx
Ruslan Ermilov <ru@nginx.com>
parents:
681
diff
changeset
|
48 Некоторые интервалы времени можно задать лишь с точностью до секунд. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
49 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
50 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
51 </section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
52 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
53 </article> |