comparison xml/en/docs/http/ngx_http_core_module.xml @ 1567:695999bdd4a5

Updated description of http2 parameter, translated into Russian.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 17 Sep 2015 15:54:49 +0300
parents ed420c318557
children 7f97ab081d24
comparison
equal deleted inserted replaced
1566:0ca33afb461b 1567:695999bdd4a5
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_core_module" 10 <module name="Module ngx_http_core_module"
11 link="/en/docs/http/ngx_http_core_module.html" 11 link="/en/docs/http/ngx_http_core_module.html"
12 lang="en" 12 lang="en"
13 rev="46"> 13 rev="47">
14 14
15 <section id="directives" name="Directives"> 15 <section id="directives" name="Directives">
16 16
17 <directive name="aio"> 17 <directive name="aio">
18 <syntax> 18 <syntax>
1116 <directive name="listen"> 1116 <directive name="listen">
1117 <syntax> 1117 <syntax>
1118 <value>address</value>[:<value>port</value>] 1118 <value>address</value>[:<value>port</value>]
1119 [<literal>default_server</literal>] 1119 [<literal>default_server</literal>]
1120 [<literal>ssl</literal>] 1120 [<literal>ssl</literal>]
1121 [<literal>spdy</literal> | <literal>http2</literal>] 1121 [<literal>http2</literal> | <literal>spdy</literal>]
1122 [<literal>proxy_protocol</literal>] 1122 [<literal>proxy_protocol</literal>]
1123 [<literal>setfib</literal>=<value>number</value>] 1123 [<literal>setfib</literal>=<value>number</value>]
1124 [<literal>fastopen</literal>=<value>number</value>] 1124 [<literal>fastopen</literal>=<value>number</value>]
1125 [<literal>backlog</literal>=<value>number</value>] 1125 [<literal>backlog</literal>=<value>number</value>]
1126 [<literal>rcvbuf</literal>=<value>size</value>] 1126 [<literal>rcvbuf</literal>=<value>size</value>]
1133 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax> 1133 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax>
1134 <syntax> 1134 <syntax>
1135 <value>port</value> 1135 <value>port</value>
1136 [<literal>default_server</literal>] 1136 [<literal>default_server</literal>]
1137 [<literal>ssl</literal>] 1137 [<literal>ssl</literal>]
1138 [<literal>spdy</literal> | <literal>http2</literal>] 1138 [<literal>http2</literal> | <literal>spdy</literal>]
1139 [<literal>proxy_protocol</literal>] 1139 [<literal>proxy_protocol</literal>]
1140 [<literal>setfib</literal>=<value>number</value>] 1140 [<literal>setfib</literal>=<value>number</value>]
1141 [<literal>fastopen</literal>=<value>number</value>] 1141 [<literal>fastopen</literal>=<value>number</value>]
1142 [<literal>backlog</literal>=<value>number</value>] 1142 [<literal>backlog</literal>=<value>number</value>]
1143 [<literal>rcvbuf</literal>=<value>size</value>] 1143 [<literal>rcvbuf</literal>=<value>size</value>]
1150 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax> 1150 [<literal>so_keepalive</literal>=<literal>on</literal>|<literal>off</literal>|[<value>keepidle</value>]:[<value>keepintvl</value>]:[<value>keepcnt</value>]]</syntax>
1151 <syntax> 1151 <syntax>
1152 <literal>unix:</literal><value>path</value> 1152 <literal>unix:</literal><value>path</value>
1153 [<literal>default_server</literal>] 1153 [<literal>default_server</literal>]
1154 [<literal>ssl</literal>] 1154 [<literal>ssl</literal>]
1155 [<literal>spdy</literal> | <literal>http2</literal>] 1155 [<literal>http2</literal> | <literal>spdy</literal>]
1156 [<literal>proxy_protocol</literal>] 1156 [<literal>proxy_protocol</literal>]
1157 [<literal>backlog</literal>=<value>number</value>] 1157 [<literal>backlog</literal>=<value>number</value>]
1158 [<literal>rcvbuf</literal>=<value>size</value>] 1158 [<literal>rcvbuf</literal>=<value>size</value>]
1159 [<literal>sndbuf</literal>=<value>size</value>] 1159 [<literal>sndbuf</literal>=<value>size</value>]
1160 [<literal>accept_filter</literal>=<value>filter</value>] 1160 [<literal>accept_filter</literal>=<value>filter</value>]
1221 id="single_http_https_server">configuration</link> for the server that 1221 id="single_http_https_server">configuration</link> for the server that
1222 handles both HTTP and HTTPS requests. 1222 handles both HTTP and HTTPS requests.
1223 </para> 1223 </para>
1224 1224
1225 <para> 1225 <para>
1226 The <literal>spdy</literal> parameter (1.3.15) allows accepting 1226 The <literal>http2</literal> parameter (1.9.5) configures the port to accept
1227 <link doc="ngx_http_v2_module.xml">HTTP/2</link> connections.
1228 Normally, for this to work the <literal>ssl</literal> parameter should be
1229 specified as well, but nginx can also be configured to accept HTTP/2
1230 connections without SSL.
1231 <note>
1232 The <literal>http2</literal> parameter is also available in the
1233 <literal>nginx-plus-http2</literal> package (NGINX Plus release 7).
1234 Since HTTP/2 supersedes SPDY, the <literal>nginx-plus-http2</literal>
1235 package does not support the <literal>spdy</literal> parameter.
1236 </note>
1237 </para>
1238
1239 <para>
1240 The <literal>spdy</literal> parameter (1.3.15-1.9.4) allows accepting
1227 <link doc="ngx_http_spdy_module.xml">SPDY</link> connections on this port. 1241 <link doc="ngx_http_spdy_module.xml">SPDY</link> connections on this port.
1228 Normally, for this to work the <literal>ssl</literal> parameter should be 1242 Normally, for this to work the <literal>ssl</literal> parameter should be
1229 specified as well, but nginx can also be configured to accept SPDY 1243 specified as well, but nginx can also be configured to accept SPDY
1230 connections without SSL. 1244 connections without SSL.
1231 </para>
1232
1233 <para>
1234 The <literal>http2</literal> parameter configures the port to accept
1235 HTTP/2 connections.
1236 Normally, for this to work the <literal>ssl</literal> parameter should be
1237 specified as well, but nginx can also be configured to accept HTTP/2
1238 connections without SSL.
1239 <note>
1240 The <literal>http2</literal> parameter is only available in the
1241 <literal>nginx-plus-http2</literal> package (NGINX Plus release 7).
1242 Since HTTP/2 supersedes SPDY, the <literal>nginx-plus-http2</literal>
1243 package does not support the <literal>spdy</literal> parameter.
1244 </note>
1245 </para> 1245 </para>
1246 1246
1247 <para> 1247 <para>
1248 The <literal>proxy_protocol</literal> parameter (1.5.12) 1248 The <literal>proxy_protocol</literal> parameter (1.5.12)
1249 allows specifying that all connections accepted on this port should use the 1249 allows specifying that all connections accepted on this port should use the