Mercurial > hg > nginx-site
comparison xml/en/docs/syntax.xml @ 681:67826df692cc
Translated 'syntax' article into English and gave it a better name.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 14 Sep 2012 13:07:32 +0000 |
parents | |
children | e1593207d1cb |
comparison
equal
deleted
inserted
replaced
680:c0e05d052196 | 681:67826df692cc |
---|---|
1 <!-- | |
2 Copyright (C) Igor Sysoev | |
3 Copyright (C) Nginx, Inc. | |
4 --> | |
5 | |
6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> | |
7 | |
8 <article name="Configuration file measurement units" | |
9 link="/en/docs/syntax.html" | |
10 lang="en" | |
11 rev="2"> | |
12 | |
13 <section> | |
14 | |
15 <para> | |
16 Sizes can be specified in kilobytes (<literal>k</literal>, | |
17 <literal>K</literal>) and megabytes (<literal>m</literal>, | |
18 <literal>M</literal>), for example “<literal>8k</literal>”, | |
19 “<literal>1m</literal>”. | |
20 If the suffix is not specified, the value is bytes. | |
21 </para> | |
22 | |
23 <para> | |
24 Time can be specified in minutes, hours, days and so on: | |
25 <table width="30%"> | |
26 <tr><td width="20%">s</td><td>seconds</td></tr> | |
27 <tr><td width="20%">m</td><td>minutes</td></tr> | |
28 <tr><td width="20%">h</td><td>hours</td></tr> | |
29 <tr><td width="20%">d</td><td>days</td></tr> | |
30 <tr><td width="20%">w</td><td>weeks</td></tr> | |
31 <tr><td width="20%">M</td><td>months, 30 days</td></tr> | |
32 <tr><td width="20%">y</td><td>years, 365 days</td></tr> | |
33 </table> | |
34 </para> | |
35 | |
36 <para> | |
37 for example “<literal>1h 30m</literal>”, “<literal>1y 6M</literal>”. | |
38 Additionally, it is possible to specify time with millisecond | |
39 precision (<literal>ms</literal>) in some directives. | |
40 If the suffix is not specified, the value is seconds. | |
41 </para> | |
42 | |
43 </section> | |
44 | |
45 </article> |