Mercurial > hg > nginx-site
annotate xml/ru/docs/http/ngx_http_spdy_module.xml @ 1298:c459ca97c14d
Updated description of $proxy_host and $proxy_port variables.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 23 Sep 2014 14:32:03 +0400 |
parents | 9fbe66ff4f7c |
children | a32df48d88fc |
rev | line source |
---|---|
869 | 1 <?xml version="1.0"?> |
2 | |
3 <!-- | |
4 Copyright (C) Nginx, Inc. | |
5 --> | |
6 | |
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | |
8 | |
9 <module name="Модуль ngx_http_spdy_module" | |
10 link="/ru/docs/http/ngx_http_spdy_module.html" | |
11 lang="ru" | |
1058
2ef5a63ce6e2
Documented SPDY/3.1 support.
Ruslan Ermilov <ru@nginx.com>
parents:
1051
diff
changeset
|
12 rev="5"> |
869 | 13 |
14 <section id="summary"> | |
15 | |
16 <para> | |
17 Модуль <literal>ngx_http_spdy_module</literal> обеспечивает экспериментальную | |
18 поддержку <link url="http://www.chromium.org/spdy/spdy-protocol">SPDY</link>. | |
19 В настоящий момент реализован | |
1058
2ef5a63ce6e2
Documented SPDY/3.1 support.
Ruslan Ermilov <ru@nginx.com>
parents:
1051
diff
changeset
|
20 <link url="http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3-1">draft |
2ef5a63ce6e2
Documented SPDY/3.1 support.
Ruslan Ermilov <ru@nginx.com>
parents:
1051
diff
changeset
|
21 3.1</link> протокола SPDY. |
2ef5a63ce6e2
Documented SPDY/3.1 support.
Ruslan Ermilov <ru@nginx.com>
parents:
1051
diff
changeset
|
22 <note> |
2ef5a63ce6e2
Documented SPDY/3.1 support.
Ruslan Ermilov <ru@nginx.com>
parents:
1051
diff
changeset
|
23 До версии 1.5.10 был реализован |
869 | 24 <link url="http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft2">draft |
25 2</link> протокола SPDY. | |
1058
2ef5a63ce6e2
Documented SPDY/3.1 support.
Ruslan Ermilov <ru@nginx.com>
parents:
1051
diff
changeset
|
26 </note> |
869 | 27 </para> |
28 | |
29 <para> | |
30 По умолчанию этот модуль не собирается, его сборку необходимо | |
31 разрешить с помощью конфигурационного параметра | |
32 <literal>--with-http_spdy_module</literal>. | |
33 </para> | |
34 | |
35 </section> | |
36 | |
37 | |
38 <section id="bugs" name="Известные проблемы"> | |
39 | |
40 <para> | |
41 Модуль экспериментальный, поэтому возможно всё. | |
42 </para> | |
43 | |
44 <para> | |
45 Текущая реализация протокола SPDY не поддерживает server push. | |
46 </para> | |
47 | |
48 <para> | |
1250
9fbe66ff4f7c
SPDY: latin letter "c" changed to cyrillic "c".
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1058
diff
changeset
|
49 До версии 1.5.9 скорость передачи ответа клиенту в SPDY-соединении не могла быть |
886
ca9a259cb5c8
The SPDY module does not support "limit_rate", not "limit_req".
Valentin Bartenev <vbart@nginx.com>
parents:
869
diff
changeset
|
50 <link doc="ngx_http_core_module.xml" id="limit_rate">ограничена</link>. |
869 | 51 </para> |
52 | |
53 </section> | |
54 | |
55 | |
56 <section id="example" name="Пример конфигурации"> | |
57 | |
58 <para> | |
59 <example> | |
60 server { | |
61 listen 443 ssl spdy; | |
62 | |
63 ssl_certificate server.crt; | |
64 ssl_certificate_key server.key; | |
65 ... | |
66 } | |
67 </example> | |
68 <note> | |
69 Для того чтобы одновременно принимать | |
70 <link doc="ngx_http_ssl_module.xml">HTTPS</link> и | |
71 SPDY соединения на том же порту, | |
72 используемая библиотека <link url="http://www.openssl.org">OpenSSL</link> | |
73 должна поддерживать расширение Next Protocol Negotiation протокола TLS, | |
74 доступное с версии OpenSSL 1.0.1. | |
75 </note> | |
76 </para> | |
77 | |
78 </section> | |
79 | |
80 | |
81 <section id="directives" name="Директивы"> | |
82 | |
1051
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
83 <directive name="spdy_chunk_size"> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
84 <syntax><value>размер</value></syntax> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
85 <default>8k</default> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
86 <context>http</context> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
87 <context>server</context> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
88 <context>location</context> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
89 <appeared-in>1.5.9</appeared-in> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
90 |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
91 <para> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
92 Задаёт максимальный размер частей, |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
93 на которые будет |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
94 <link url="http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft2#TOC-Data-frames"> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
95 разделяться</link> тело ответа. |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
96 Слишком маленькое значение может |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
97 привести к росту накладных расходов. |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
98 Слишком большое значение может |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
99 негативно сказаться на приоритизации из-за |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
100 <link url="http://en.wikipedia.org/wiki/Head-of-line_blocking"> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
101 блокировки очереди</link>. |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
102 </para> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
103 |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
104 </directive> |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
105 |
29de277bf322
Documented the "spdy_chunk_size" directive.
Yaroslav Zhuravlev <yaroslav.zhuravlev@nginx.com>
parents:
1050
diff
changeset
|
106 |
869 | 107 <directive name="spdy_headers_comp"> |
108 <syntax><value>степень</value></syntax> | |
109 <default>0</default> | |
110 <context>http</context> | |
111 <context>server</context> | |
112 | |
113 <para> | |
114 Устанавливает <value>степень</value> сжатия заголовков ответа | |
115 в диапазоне от 1 (быстрее, но хуже сжатие) до 9 (медленнее, лучшее сжатие). | |
116 Специальное значение 0 отключает сжатие заголовков. | |
117 </para> | |
118 | |
119 </directive> | |
120 | |
121 </section> | |
122 | |
123 | |
124 <section id="variables" name="Встроенные переменные"> | |
125 | |
126 <para> | |
127 Модуль <literal>ngx_http_spdy_module</literal> | |
128 поддерживает следующие встроенные переменные: | |
129 <list type="tag" compact="no"> | |
130 | |
131 <tag-name id="var_spdy"><var>$spdy</var></tag-name> | |
132 <tag-desc> | |
133 версия протокола SPDY для SPDY-соединений, | |
134 либо пустая строка; | |
135 </tag-desc> | |
136 | |
137 <tag-name id="var_spdy_request_priority"><var>$spdy_request_priority</var> | |
138 </tag-name> | |
139 <tag-desc> | |
140 приоритет запроса для SPDY-соединений, | |
141 либо пустая строка. | |
142 </tag-desc> | |
143 | |
144 </list> | |
145 </para> | |
146 | |
147 </section> | |
148 | |
149 </module> |