Mercurial > hg > nginx-site
annotate xml/ru/docs/http/ngx_http_gunzip_module.xml @ 732:cea4732f6843
The stale note about ngx_http_rewrite_module experimental status removed.
author | Maxim Konovalov <maxim@nginx.com> |
---|---|
date | Tue, 16 Oct 2012 12:44:45 +0000 |
parents | 6d6aa03e43fa |
children | ac709e45740d |
rev | line source |
---|---|
676
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
2 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
3 <!-- |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
4 Copyright (C) Maxim Dounin |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
5 Copyright (C) Nginx, Inc. |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
6 --> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
7 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
9 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
10 <module name="Модуль ngx_http_gunzip_module" |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
11 link="/ru/docs/http/ngx_http_gunzip_module.html" |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
12 lang="ru" |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
13 rev="1"> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
14 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
15 <section id="summary"> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
16 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
17 <para> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
18 Модуль <literal>ngx_http_gunzip_module</literal> это фильтр, распаковывающий |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
19 ответы, возвращаемые с “<literal>Content-Encoding: gzip</literal>”, |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
20 для тех клиентов, которые не поддерживают данный метод. |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
21 Это может быть полезно, если предпочтительно хранить данные сжатыми |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
22 (чтобы сэкономить пространство или дисковые/сетевые операции |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
23 ввода/вывода), но при этом нежелательно причинять неудобства клиентам, |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
24 которые не поддерживают сжатие методом gzip. |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
25 </para> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
26 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
27 <para> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
28 По умолчанию этот модуль не собирается, его сборку необходимо |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
29 разрешить с помощью конфигурационного параметра |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
30 <literal>--with-http_gunzip_module</literal>. |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
31 </para> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
32 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
33 </section> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
34 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
35 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
36 <section id="example" name="Пример конфигурации"> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
37 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
38 <para> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
39 <example> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
40 location /storage/ { |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
41 gunzip on; |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
42 ... |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
43 } |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
44 </example> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
45 </para> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
46 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
47 </section> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
48 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
49 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
50 <section id="directives" name="Директивы"> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
51 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
52 <directive name="gunzip"> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
53 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
54 <default>off</default> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
55 <context>http</context> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
56 <context>server</context> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
57 <context>location</context> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
58 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
59 <para> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
60 Разрешает или запрещает распаковку ответов, сжатых методом |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
61 <literal>“gzip”</literal>. |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
62 </para> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
63 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
64 </directive> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
65 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
66 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
67 <directive name="gunzip_buffers"> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
68 <syntax><value>число</value> <value>размер</value></syntax> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
69 <default>32 4k|16 8k</default> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
70 <context>http</context> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
71 <context>server</context> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
72 <context>location</context> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
73 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
74 <para> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
75 Задаёт число и размер буферов, доступных для распаковки. |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
76 </para> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
77 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
78 </directive> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
79 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
80 </section> |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
81 |
6d6aa03e43fa
Actually added gunzip module documentation files.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
82 </module> |