annotate xml/ru/docs/http/ngx_http_v2_module.xml @ 2105:d45887ccafde

Documented HTTP/2 server push.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 15 Feb 2018 21:24:36 +0300
parents ffb3570c352c
children ca7568f67dee
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"
2105
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
12 rev="11">
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>
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
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
45 </section>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
46
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
47
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
48 <section id="example" name="Пример конфигурации">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
49
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
50 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
51 <example>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
52 server {
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
53 listen 443 ssl http2;
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
54
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
55 ssl_certificate server.crt;
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
56 ssl_certificate_key server.key;
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
57 }
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
58 </example>
1693
c841e77fcc1d Added missing comma.
Sergey Kandaurov <pluknet@nginx.com>
parents: 1671
diff changeset
59 Чтобы принимать HTTP/2-соединения по TLS, необходимо
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
60 наличие поддержки расширения “Application-Layer Protocol Negotiation” (ALPN)
1670
e28e4e0b8520 Revised http2 module translation.
Ruslan Ermilov <ru@nginx.com>
parents: 1667
diff changeset
61 протокола TLS, появившейся лишь в
e28e4e0b8520 Revised http2 module translation.
Ruslan Ermilov <ru@nginx.com>
parents: 1667
diff changeset
62 <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
63 Работа расширения “Next Protocol Negotiation” (NPN) протокола TLS
1670
e28e4e0b8520 Revised http2 module translation.
Ruslan Ermilov <ru@nginx.com>
parents: 1667
diff changeset
64 (поддерживаемого начиная с OpenSSL версии 1.0.1) в данном случае не гарантируется.
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
65 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
66
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
67 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
68 Если
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
69 директива <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
70 установлена в значение “<literal>on</literal>”,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
71 <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
72 должны быть настроены таким образом, чтобы соответствовать чёрному списку
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
73 <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
74 а также поддерживаться клиентами.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
75 </para>
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 </section>
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
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
80 <section id="directives" name="Директивы">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
81
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
82 <directive name="http2_chunk_size">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
83 <syntax><value>размер</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
84 <default>8k</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
85 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
86 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
87 <context>location</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
88
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
89 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
90 Задаёт максимальный размер частей,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
91 на которое будет разделяться тело ответа.
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 Слишком большое значение может негативно сказаться на приоритизации из-за
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
94 <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
95 блокировки очереди</link>.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
96 </para>
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 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
99
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
100
1707
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
101 <directive name="http2_body_preread_size">
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
102 <syntax><value>размер</value></syntax>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
103 <default>64k</default>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
104 <context>http</context>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
105 <context>server</context>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
106 <appeared-in>1.11.0</appeared-in>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
107
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
108 <para>
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
109 Задаёт <value>размер</value> буфера для каждого запроса,
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
110 в который может сохраняться тело запроса
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
ea60a7dff3c1 Documented the http2_body_preread_size directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1693
diff changeset
114 </directive>
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
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
117 <directive name="http2_idle_timeout">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
118 <syntax><value>время</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
119 <default>3m</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
120 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
121 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
122
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
123 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
124 Задаёт таймаут неактивности, после которого соединение закрывается.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
125 </para>
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 </directive>
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
2105
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
130 <directive name="http2_max_concurrent_pushes">
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
131 <syntax><value>число</value></syntax>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
132 <default>10</default>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
133 <context>http</context>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
134 <context>server</context>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
135 <appeared-in>1.13.9</appeared-in>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
136
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
137 <para>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
138 Ограничивает максимальное число параллельных
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
139 <link id="http2_push">push</link>-запросов в соединении.
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
140 </para>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
141
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
142 </directive>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
143
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
144
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
145 <directive name="http2_max_concurrent_streams">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
146 <syntax><value>число</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
147 <default>128</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
148 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
149 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
150
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
151 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
152 Задаёт максимальное число параллельных HTTP/2-потоков
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 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
157
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 <directive name="http2_max_field_size">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
160 <syntax><value>размер</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
161 <default>4k</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
162 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
163 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
164
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
165 <para>
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 заголовка запроса, сжатого при помощи
1923
66a30a380fba Fixed links to tools.ietf.org.
Ruslan Ermilov <ru@nginx.com>
parents: 1834
diff changeset
168 <link url="https://tools.ietf.org/html/rfc7541">HPACK</link>.
1667
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 то фактический размер распакованных строк имени и значения может быть больше.
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 </directive>
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
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
178 <directive name="http2_max_header_size">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
179 <syntax><value>размер</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
180 <default>16k</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
181 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
182 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
183
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
184 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
185 Ограничивает максимальный размер всего списка заголовков запроса после
1923
66a30a380fba Fixed links to tools.ietf.org.
Ruslan Ermilov <ru@nginx.com>
parents: 1834
diff changeset
186 распаковки <link url="https://tools.ietf.org/html/rfc7541">HPACK</link>.
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
187 Ограничение по умолчанию подходит для большинства запросов.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
188 </para>
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 </directive>
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
1834
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
193 <directive name="http2_max_requests">
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
194 <syntax><value>число</value></syntax>
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
195 <default>1000</default>
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
196 <context>http</context>
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
197 <context>server</context>
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
198 <appeared-in>1.11.6</appeared-in>
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
199
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
200 <para>
2105
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
201 Задаёт максимальное число запросов (включая
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
202 <link id="http2_push">push</link>-запросы), которые можно
1834
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
203 сделать по одному соединению HTTP/2,
2105
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
204 после чего очередной клиентский запрос приведёт к закрытию соединения
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
205 и необходимости установить новое соединение.
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
206 </para>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
207
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
208 </directive>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
209
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
210
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
211 <directive name="http2_push">
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
212 <syntax><value>uri</value> | <literal>off</literal></syntax>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
213 <default>off</default>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
214 <context>http</context>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
215 <context>server</context>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
216 <context>location</context>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
217 <appeared-in>1.13.9</appeared-in>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
218
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
219 <para>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
220 Заблаговременно отправляет
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
221 (<link url="https://tools.ietf.org/html/rfc7540#section-8.2">push</link>) запрос
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
222 к заданному <value>uri</value>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
223 вместе с ответом на оригинальный запрос.
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
224 Будут обработаны только относительные URI с абсолютными путями,
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
225 например:
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
226 <example>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
227 http2_push /static/css/main.css;
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
228 </example>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
229 В значении <value>uri</value> допустимо использование переменных.
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
230 </para>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
231
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
232 <para>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
233 На одном уровне конфигурации можно указать несколько
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
234 <literal>http2_push</literal> директив.
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
235 Параметр <literal>off</literal> отменяет действие
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
236 унаследованных с предыдущего уровня конфигурации
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
237 директив <literal>http2_push</literal>.
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
238 </para>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
239
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
240 </directive>
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
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
243 <directive name="http2_push_preload">
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
244 <syntax><literal>on</literal> | <literal>off</literal></syntax>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
245 <default>off</default>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
246 <context>http</context>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
247 <context>server</context>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
248 <context>location</context>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
249 <appeared-in>1.13.9</appeared-in>
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
250
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
251 <para>
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 <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
254 links</link>,
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
255 указанных в полях <header>Link</header> заголовка ответа, в
d45887ccafde Documented HTTP/2 server push.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 2038
diff changeset
256 <link url="https://tools.ietf.org/html/rfc7540#section-8.2">push</link>-запросы.
1834
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
257 </para>
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
258
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
259 </directive>
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
260
1d0811707e09 Documented the "http2_max_requests" directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1707
diff changeset
261
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
262 <directive name="http2_recv_buffer_size">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
263 <syntax><value>размер</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
264 <default>256k</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
265 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
266
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
267 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
268 Задаёт размер входного буфера для
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
269 <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
270 процесса</link>.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
271 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
272
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
273 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
274
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
275
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
276 <directive name="http2_recv_timeout">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
277 <syntax><value>время</value></syntax>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
278 <default>30s</default>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
279 <context>http</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
280 <context>server</context>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
281
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
282 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
283 Задаёт таймаут в случае, когда от клиента ожидаются ещё данные,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
284 после которого соединение закрывается.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
285 </para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
286
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
287 </directive>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
288
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
289 </section>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
290
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
291
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
292 <section id="variables" name="Встроенные переменные">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
293
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
294 <para>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
295 Модуль <literal>ngx_http_v2_module</literal>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
296 поддерживает следующие встроенные переменные:
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
297 <list type="tag" compact="no">
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
298
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
299 <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
300 <tag-desc>
1670
e28e4e0b8520 Revised http2 module translation.
Ruslan Ermilov <ru@nginx.com>
parents: 1667
diff changeset
301 согласованный идентификатор протокола:
1667
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
302 “<literal>h2</literal>” для HTTP/2 через TLS,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
303 “<literal>h2c</literal>” для HTTP/2 через незашифрованный TCP,
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
304 либо пустая строка.
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
305 </tag-desc>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
306
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
307 </list>
beab8345acf6 Translated the http/2 module into Russian.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
308 </para>
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 </section>
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 </module>