annotate xml/ru/docs/http/ngx_http_v2_module.xml @ 1707:ea60a7dff3c1

Documented the http2_body_preread_size directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 24 May 2016 21:54:17 +0300
parents c841e77fcc1d
children 1d0811707e09
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
1 <?xml version="1.0"?>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
2
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
3 <!--
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
4 Copyright (C) Nginx, Inc.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
5 -->
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
6
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
8
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
9 <module name="Модуль ngx_http_v2_module"
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
10 link="/ru/docs/http/ngx_http_v2_module.html"
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
11 lang="ru"
1707
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
12 rev="7">
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
13
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
14 <section id="summary">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
15
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
16 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
17 Модуль <literal>ngx_http_v2_module</literal> (1.9.5) обеспечивает
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
18 поддержку <link url="https://tools.ietf.org/html/rfc7540">HTTP/2</link>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
19 и заменяет
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
20 модуль <link doc="ngx_http_spdy_module.xml">ngx_http_spdy_module</link>.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
21 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
22
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
23 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
24 По умолчанию этот модуль не собирается, его сборку необходимо разрешить
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
25 с помощью конфигурационного параметра
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
26 <literal>--with-http_v2_module</literal>.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
27 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
28
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
29 </section>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
30
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
31
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
32 <section id="issues" name="Известные проблемы">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
33
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
34 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
35 Модуль экспериментальный, поэтому возможно всё.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
36 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
37
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
38 <para>
1671
5154b356a1b2 Unbuffered request body upload support in http2.
Ruslan Ermilov <ru@nginx.com>
parents: 1670
diff changeset
39 До версии 1.9.14
5154b356a1b2 Unbuffered request body upload support in http2.
Ruslan Ermilov <ru@nginx.com>
parents: 1670
diff changeset
40 буферизация тела запроса клиента не могла быть запрещена
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
41 независимо от
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
42 значения директив
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
43 <link doc="ngx_http_proxy_module.xml" id="proxy_request_buffering"/>,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
44 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_request_buffering"/>,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
45 <link doc="ngx_http_uwsgi_module.xml" id="uwsgi_request_buffering"/> и
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
46 <link doc="ngx_http_scgi_module.xml" id="scgi_request_buffering"/>.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
47 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
48
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
49 </section>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
50
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
51
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
52 <section id="example" name="Пример конфигурации">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
53
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
54 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
55 <example>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
56 server {
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
57 listen 443 ssl http2;
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
58
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
59 ssl_certificate server.crt;
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
60 ssl_certificate_key server.key;
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
61 }
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
62 </example>
1693
c841e77fcc1d Added missing comma.
Sergey Kandaurov <pluknet@nginx.com>
parents: 1671
diff changeset
63 Чтобы принимать HTTP/2-соединения по TLS, необходимо
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
64 наличие поддержки расширения “Application-Layer Protocol Negotiation” (ALPN)
1670
e28e4e0b8520 Revised http2 module translation.
Ruslan Ermilov <ru@nginx.com>
parents: 1667
diff changeset
65 протокола TLS, появившейся лишь в
e28e4e0b8520 Revised http2 module translation.
Ruslan Ermilov <ru@nginx.com>
parents: 1667
diff changeset
66 <link url="http://www.openssl.org">OpenSSL</link> версии 1.0.2.
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
67 Работа расширения “Next Protocol Negotiation” (NPN) протокола TLS
1670
e28e4e0b8520 Revised http2 module translation.
Ruslan Ermilov <ru@nginx.com>
parents: 1667
diff changeset
68 (поддерживаемого начиная с OpenSSL версии 1.0.1) в данном случае не гарантируется.
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
69 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
70
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
71 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
72 Если
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
73 директива <link doc="ngx_http_ssl_module.xml" id="ssl_prefer_server_ciphers"/>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
74 установлена в значение “<literal>on</literal>”,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
75 <link doc="ngx_http_ssl_module.xml" id="ssl_ciphers">шифры</link>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
76 должны быть настроены таким образом, чтобы соответствовать чёрному списку
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
77 <link url="https://tools.ietf.org/html/rfc7540#appendix-A">RFC 7540, Appendix A</link>,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
78 а также поддерживаться клиентами.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
79 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
80
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
81 </section>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
82
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
83
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
84 <section id="directives" name="Директивы">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
85
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
86 <directive name="http2_chunk_size">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
87 <syntax><value>размер</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
88 <default>8k</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
89 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
90 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
91 <context>location</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
92
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
93 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
94 Задаёт максимальный размер частей,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
95 на которое будет разделяться тело ответа.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
96 Слишком маленькое значение может привести к росту накладных расходов.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
97 Слишком большое значение может негативно сказаться на приоритизации из-за
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
98 <link url="http://en.wikipedia.org/wiki/Head-of-line_blocking">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
99 блокировки очереди</link>.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
100 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
101
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
102 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
103
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
104
1707
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
105 <directive name="http2_body_preread_size">
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
106 <syntax><value>размер</value></syntax>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
107 <default>64k</default>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
108 <context>http</context>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
109 <context>server</context>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
110 <appeared-in>1.11.0</appeared-in>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
111
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
112 <para>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
113 Задаёт <value>размер</value> буфера для каждого запроса,
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
114 в который может сохраняться тело запроса
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
115 до того, как оно начнёт обрабатываться.
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
116 </para>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
117
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
118 </directive>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
119
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
120
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
121 <directive name="http2_idle_timeout">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
122 <syntax><value>время</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
123 <default>3m</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
124 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
125 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
126
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
127 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
128 Задаёт таймаут неактивности, после которого соединение закрывается.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
129 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
130
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
131 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
132
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
133
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
134 <directive name="http2_max_concurrent_streams">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
135 <syntax><value>число</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
136 <default>128</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
137 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
138 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
139
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
140 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
141 Задаёт максимальное число параллельных HTTP/2-потоков
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
142 в соединении.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
143 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
144
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
145 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
146
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
147
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
148 <directive name="http2_max_field_size">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
149 <syntax><value>размер</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
150 <default>4k</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
151 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
152 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
153
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
154 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
155 Ограничивает максимальный размер
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
156 заголовка запроса, сжатого при помощи
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
157 <link url="http://tools.ietf.org/html/rfc7541">HPACK</link>.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
158 Ограничение применяется в равной степени как к имени, так и к значению.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
159 Если применяется кодирование Хаффмана,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
160 то фактический размер распакованных строк имени и значения может быть больше.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
161 Ограничение по умолчанию подходит для большинства запросов.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
162 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
163
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
164 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
165
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
166
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
167 <directive name="http2_max_header_size">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
168 <syntax><value>размер</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
169 <default>16k</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
170 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
171 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
172
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
173 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
174 Ограничивает максимальный размер всего списка заголовков запроса после
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
175 распаковки <link url="http://tools.ietf.org/html/rfc7541">HPACK</link>.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
176 Ограничение по умолчанию подходит для большинства запросов.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
177 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
178
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
179 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
180
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
181
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
182 <directive name="http2_recv_buffer_size">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
183 <syntax><value>размер</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
184 <default>256k</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
185 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
186
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
187 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
188 Задаёт размер входного буфера для
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
189 <link doc="../ngx_core_module.xml" id="worker_processes">рабочего
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
190 процесса</link>.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
191 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
192
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
193 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
194
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
195
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
196 <directive name="http2_recv_timeout">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
197 <syntax><value>время</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
198 <default>30s</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
199 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
200 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
201
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
202 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
203 Задаёт таймаут в случае, когда от клиента ожидаются ещё данные,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
204 после которого соединение закрывается.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
205 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
206
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
207 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
208
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
209 </section>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
210
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
211
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
212 <section id="variables" name="Встроенные переменные">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
213
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
214 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
215 Модуль <literal>ngx_http_v2_module</literal>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
216 поддерживает следующие встроенные переменные:
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
217 <list type="tag" compact="no">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
218
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
219 <tag-name id="var_http2"><var>$http2</var></tag-name>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
220 <tag-desc>
1670
e28e4e0b8520 Revised http2 module translation.
Ruslan Ermilov <ru@nginx.com>
parents: 1667
diff changeset
221 согласованный идентификатор протокола:
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
222 “<literal>h2</literal>” для HTTP/2 через TLS,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
223 “<literal>h2c</literal>” для HTTP/2 через незашифрованный TCP,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
224 либо пустая строка.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
225 </tag-desc>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
226
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
227 </list>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
228 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
229
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
230 </section>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
231
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
232 </module>