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