comparison xml/en/docs/http/ngx_http_core_module.xml @ 2976:cbd963190c15

Documented the http2 directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 13 Jun 2023 16:04:45 +0100
parents 9a8d15333a58
children 9eadb98ec770
comparison
equal deleted inserted replaced
2975:f8ad45c72992 2976:cbd963190c15
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="105"> 13 rev="106">
14 14
15 <section id="directives" name="Directives"> 15 <section id="directives" name="Directives">
16 16
17 <directive name="absolute_redirect"> 17 <directive name="absolute_redirect">
18 <syntax><literal>on</literal> | <literal>off</literal></syntax> 18 <syntax><literal>on</literal> | <literal>off</literal></syntax>
1382 The <literal>http2</literal> parameter (1.9.5) configures the port to accept 1382 The <literal>http2</literal> parameter (1.9.5) configures the port to accept
1383 <link doc="ngx_http_v2_module.xml">HTTP/2</link> connections. 1383 <link doc="ngx_http_v2_module.xml">HTTP/2</link> connections.
1384 Normally, for this to work the <literal>ssl</literal> parameter should be 1384 Normally, for this to work the <literal>ssl</literal> parameter should be
1385 specified as well, but nginx can also be configured to accept HTTP/2 1385 specified as well, but nginx can also be configured to accept HTTP/2
1386 connections without SSL. 1386 connections without SSL.
1387 <note>
1388 The parameter is deprecated,
1389 the <link doc="ngx_http_v2_module.xml" id="http2">http2</link> directive
1390 should be used instead.
1391 </note>
1387 </para> 1392 </para>
1388 1393
1389 <para id="quic"> 1394 <para id="quic">
1390 The <literal>quic</literal> parameter (1.25.0) configures the port to accept 1395 The <literal>quic</literal> parameter (1.25.0) configures the port to accept
1391 <link doc="ngx_http_v3_module.xml">QUIC</link> connections. 1396 <link doc="ngx_http_v3_module.xml">QUIC</link> connections.