Mercurial > hg > nginx-site
annotate xml/ru/docs/http/ngx_http_v2_module.xml @ 2913:a20b51e84c32
Linux packages: actualized supported Alpine Linux versions.
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Fri, 25 Nov 2022 11:13:56 +0400 |
parents | 4add6ae1296f |
children | 9a8d15333a58 |
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" |
2794
b74f2038f2b5
Removed support of NPN for http/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2654
diff
changeset
|
12 rev="15"> |
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) обеспечивает |
2831
4add6ae1296f
Updated links to datatracker.ietf.org.
Sergey Kandaurov <pluknet@nginx.com>
parents:
2794
diff
changeset
|
18 поддержку <link url="https://datatracker.ietf.org/doc/html/rfc7540">HTTP/2</link> |
1667
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> |
1671
5154b356a1b2
Unbuffered request body upload support in http2.
Ruslan Ermilov <ru@nginx.com>
parents:
1670
diff
changeset
|
35 До версии 1.9.14 |
5154b356a1b2
Unbuffered request body upload support in http2.
Ruslan Ermilov <ru@nginx.com>
parents:
1670
diff
changeset
|
36 буферизация тела запроса клиента не могла быть запрещена |
1667
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 значения директив |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
39 <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
|
40 <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
|
41 <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
|
42 <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
|
43 </para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
44 |
2567
4f3494d80949
Documented support for HTTP/2 in lingering_close.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2450
diff
changeset
|
45 <para> |
4f3494d80949
Documented support for HTTP/2 in lingering_close.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2450
diff
changeset
|
46 До версии 1.19.1 |
4f3494d80949
Documented support for HTTP/2 in lingering_close.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2450
diff
changeset
|
47 механизм <link doc="ngx_http_core_module.xml" id="lingering_close"/> |
4f3494d80949
Documented support for HTTP/2 in lingering_close.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2450
diff
changeset
|
48 не использовался в управлении закрытием HTTP/2-соединений. |
4f3494d80949
Documented support for HTTP/2 in lingering_close.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2450
diff
changeset
|
49 </para> |
4f3494d80949
Documented support for HTTP/2 in lingering_close.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2450
diff
changeset
|
50 |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
51 </section> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
52 |
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 <section id="example" name="Пример конфигурации"> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
55 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
56 <para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
57 <example> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
58 server { |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
59 listen 443 ssl http2; |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
60 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
61 ssl_certificate server.crt; |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
62 ssl_certificate_key server.key; |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
63 } |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
64 </example> |
1693 | 65 Чтобы принимать HTTP/2-соединения по TLS, необходимо |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
66 наличие поддержки расширения “Application-Layer Protocol Negotiation” (ALPN) |
2794
b74f2038f2b5
Removed support of NPN for http/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2654
diff
changeset
|
67 протокола TLS, появившейся в |
1670
e28e4e0b8520
Revised http2 module translation.
Ruslan Ermilov <ru@nginx.com>
parents:
1667
diff
changeset
|
68 <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
|
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 должны быть настроены таким образом, чтобы соответствовать чёрному списку |
2831
4add6ae1296f
Updated links to datatracker.ietf.org.
Sergey Kandaurov <pluknet@nginx.com>
parents:
2794
diff
changeset
|
77 <link url="https://datatracker.ietf.org/doc/html/rfc7540#appendix-A">RFC 7540, Appendix A</link>, |
1667
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 |
2142
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
86 <directive name="http2_body_preread_size"> |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
87 <syntax><value>размер</value></syntax> |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
88 <default>64k</default> |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
89 <context>http</context> |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
90 <context>server</context> |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
91 <appeared-in>1.11.0</appeared-in> |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
92 |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
93 <para> |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
94 Задаёт <value>размер</value> буфера для каждого запроса, |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
95 в который может сохраняться тело запроса |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
96 до того, как оно начнёт обрабатываться. |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
97 </para> |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
98 |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
99 </directive> |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
100 |
ca7568f67dee
Sorted directives alphabetically.
Ruslan Ermilov <ru@nginx.com>
parents:
2105
diff
changeset
|
101 |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
102 <directive name="http2_chunk_size"> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
103 <syntax><value>размер</value></syntax> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
104 <default>8k</default> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
105 <context>http</context> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
106 <context>server</context> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
107 <context>location</context> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
108 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
109 <para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
110 Задаёт максимальный размер частей, |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
111 на которое будет разделяться тело ответа. |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
112 Слишком маленькое значение может привести к росту накладных расходов. |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
113 Слишком большое значение может негативно сказаться на приоритизации из-за |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
114 <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
|
115 блокировки очереди</link>. |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
116 </para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
117 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
118 </directive> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
119 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
120 |
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> |
2654
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
128 <note> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
129 Эта директива устарела начиная с версии 1.19.7. |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
130 Вместо неё следует использовать директиву |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
131 <link doc="ngx_http_core_module.xml" id="keepalive_timeout"/>. |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
132 </note> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
133 </para> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
134 |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
135 <para> |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
136 Задаёт таймаут неактивности, после которого соединение закрывается. |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
137 </para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
138 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
139 </directive> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
140 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
141 |
2105
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
142 <directive name="http2_max_concurrent_pushes"> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
143 <syntax><value>число</value></syntax> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
144 <default>10</default> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
145 <context>http</context> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
146 <context>server</context> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
147 <appeared-in>1.13.9</appeared-in> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
148 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
149 <para> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
150 Ограничивает максимальное число параллельных |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
151 <link id="http2_push">push</link>-запросов в соединении. |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
152 </para> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
153 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
154 </directive> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
155 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
156 |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
157 <directive name="http2_max_concurrent_streams"> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
158 <syntax><value>число</value></syntax> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
159 <default>128</default> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
160 <context>http</context> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
161 <context>server</context> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
162 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
163 <para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
164 Задаёт максимальное число параллельных HTTP/2-потоков |
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 </para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
167 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
168 </directive> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
169 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
170 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
171 <directive name="http2_max_field_size"> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
172 <syntax><value>размер</value></syntax> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
173 <default>4k</default> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
174 <context>http</context> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
175 <context>server</context> |
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> |
2654
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
178 <note> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
179 Эта директива устарела начиная с версии 1.19.7. |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
180 Вместо неё следует использовать директиву |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
181 <link doc="ngx_http_core_module.xml" id="large_client_header_buffers"/>. |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
182 </note> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
183 </para> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
184 |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
185 <para> |
1667
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 заголовка запроса, сжатого при помощи |
2831
4add6ae1296f
Updated links to datatracker.ietf.org.
Sergey Kandaurov <pluknet@nginx.com>
parents:
2794
diff
changeset
|
188 <link url="https://datatracker.ietf.org/doc/html/rfc7541">HPACK</link>. |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
189 Ограничение применяется в равной степени как к имени, так и к значению. |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
190 Если применяется кодирование Хаффмана, |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
191 то фактический размер распакованных строк имени и значения может быть больше. |
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 </para> |
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 </directive> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
196 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
197 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
198 <directive name="http2_max_header_size"> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
199 <syntax><value>размер</value></syntax> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
200 <default>16k</default> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
201 <context>http</context> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
202 <context>server</context> |
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 <para> |
2654
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
205 <note> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
206 Эта директива устарела начиная с версии 1.19.7. |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
207 Вместо неё следует использовать директиву |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
208 <link doc="ngx_http_core_module.xml" id="large_client_header_buffers"/>. |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
209 </note> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
210 </para> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
211 |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
212 <para> |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
213 Ограничивает максимальный размер всего списка заголовков запроса после |
2831
4add6ae1296f
Updated links to datatracker.ietf.org.
Sergey Kandaurov <pluknet@nginx.com>
parents:
2794
diff
changeset
|
214 распаковки <link url="https://datatracker.ietf.org/doc/html/rfc7541">HPACK</link>. |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
215 Ограничение по умолчанию подходит для большинства запросов. |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
216 </para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
217 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
218 </directive> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
219 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
220 |
1834
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
221 <directive name="http2_max_requests"> |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
222 <syntax><value>число</value></syntax> |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
223 <default>1000</default> |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
224 <context>http</context> |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
225 <context>server</context> |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
226 <appeared-in>1.11.6</appeared-in> |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
227 |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
228 <para> |
2654
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
229 <note> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
230 Эта директива устарела начиная с версии 1.19.7. |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
231 Вместо неё следует использовать директиву |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
232 <link doc="ngx_http_core_module.xml" id="keepalive_requests"/>. |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
233 </note> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
234 </para> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
235 |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
236 <para> |
2105
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
237 Задаёт максимальное число запросов (включая |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
238 <link id="http2_push">push</link>-запросы), которые можно |
1834
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
239 сделать по одному соединению HTTP/2, |
2105
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
240 после чего очередной клиентский запрос приведёт к закрытию соединения |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
241 и необходимости установить новое соединение. |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
242 </para> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
243 |
2450
a26a42699207
Added note about max number of keepalive requests.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2142
diff
changeset
|
244 <para> |
a26a42699207
Added note about max number of keepalive requests.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2142
diff
changeset
|
245 Периодическое закрытие соединений необходимо для освобождения |
a26a42699207
Added note about max number of keepalive requests.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2142
diff
changeset
|
246 памяти, выделенной под конкретные соединения. |
a26a42699207
Added note about max number of keepalive requests.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2142
diff
changeset
|
247 Поэтому использование слишком большого максимального числа запросов |
a26a42699207
Added note about max number of keepalive requests.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2142
diff
changeset
|
248 может приводить к чрезмерному потреблению памяти и не рекомендуется. |
a26a42699207
Added note about max number of keepalive requests.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2142
diff
changeset
|
249 </para> |
a26a42699207
Added note about max number of keepalive requests.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2142
diff
changeset
|
250 |
2105
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
251 </directive> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
252 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
253 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
254 <directive name="http2_push"> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
255 <syntax><value>uri</value> | <literal>off</literal></syntax> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
256 <default>off</default> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
257 <context>http</context> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
258 <context>server</context> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
259 <context>location</context> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
260 <appeared-in>1.13.9</appeared-in> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
261 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
262 <para> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
263 Заблаговременно отправляет |
2831
4add6ae1296f
Updated links to datatracker.ietf.org.
Sergey Kandaurov <pluknet@nginx.com>
parents:
2794
diff
changeset
|
264 (<link url="https://datatracker.ietf.org/doc/html/rfc7540#section-8.2">push</link>) запрос |
2105
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
265 к заданному <value>uri</value> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
266 вместе с ответом на оригинальный запрос. |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
267 Будут обработаны только относительные URI с абсолютными путями, |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
268 например: |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
269 <example> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
270 http2_push /static/css/main.css; |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
271 </example> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
272 В значении <value>uri</value> допустимо использование переменных. |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
273 </para> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
274 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
275 <para> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
276 На одном уровне конфигурации можно указать несколько |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
277 <literal>http2_push</literal> директив. |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
278 Параметр <literal>off</literal> отменяет действие |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
279 унаследованных с предыдущего уровня конфигурации |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
280 директив <literal>http2_push</literal>. |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
281 </para> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
282 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
283 </directive> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
284 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
285 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
286 <directive name="http2_push_preload"> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
287 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
288 <default>off</default> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
289 <context>http</context> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
290 <context>server</context> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
291 <context>location</context> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
292 <appeared-in>1.13.9</appeared-in> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
293 |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
294 <para> |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
295 Разрешает автоматическое преобразование |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
296 <link url="https://www.w3.org/TR/preload/#server-push-http-2">preload |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
297 links</link>, |
d45887ccafde
Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2038
diff
changeset
|
298 указанных в полях <header>Link</header> заголовка ответа, в |
2831
4add6ae1296f
Updated links to datatracker.ietf.org.
Sergey Kandaurov <pluknet@nginx.com>
parents:
2794
diff
changeset
|
299 <link url="https://datatracker.ietf.org/doc/html/rfc7540#section-8.2">push</link>-запросы. |
1834
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
300 </para> |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
301 |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
302 </directive> |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
303 |
1d0811707e09
Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1707
diff
changeset
|
304 |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
305 <directive name="http2_recv_buffer_size"> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
306 <syntax><value>размер</value></syntax> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
307 <default>256k</default> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
308 <context>http</context> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
309 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
310 <para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
311 Задаёт размер входного буфера для |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
312 <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
|
313 процесса</link>. |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
314 </para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
315 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
316 </directive> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
317 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
318 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
319 <directive name="http2_recv_timeout"> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
320 <syntax><value>время</value></syntax> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
321 <default>30s</default> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
322 <context>http</context> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
323 <context>server</context> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
324 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
325 <para> |
2654
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
326 <note> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
327 Эта директива устарела начиная с версии 1.19.7. |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
328 Вместо неё следует использовать директиву |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
329 <link doc="ngx_http_core_module.xml" id="client_header_timeout"/>. |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
330 </note> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
331 </para> |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
332 |
d13341d3c54a
Marked some directives as obsolete in HTTP/2.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2567
diff
changeset
|
333 <para> |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
334 Задаёт таймаут в случае, когда от клиента ожидаются ещё данные, |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
335 после которого соединение закрывается. |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
336 </para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
337 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
338 </directive> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
339 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
340 </section> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
341 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
342 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
343 <section id="variables" name="Встроенные переменные"> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
344 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
345 <para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
346 Модуль <literal>ngx_http_v2_module</literal> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
347 поддерживает следующие встроенные переменные: |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
348 <list type="tag" compact="no"> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
349 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
350 <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
|
351 <tag-desc> |
1670
e28e4e0b8520
Revised http2 module translation.
Ruslan Ermilov <ru@nginx.com>
parents:
1667
diff
changeset
|
352 согласованный идентификатор протокола: |
1667
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
353 “<literal>h2</literal>” для HTTP/2 через TLS, |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
354 “<literal>h2c</literal>” для HTTP/2 через незашифрованный TCP, |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
355 либо пустая строка. |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
356 </tag-desc> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
357 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
358 </list> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
359 </para> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
360 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
361 </section> |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
362 |
beab8345acf6
Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff
changeset
|
363 </module> |