comparison xml/en/docs/http/ngx_http_core_module.xml @ 1561:ed420c318557

Updated docs for the upcoming NGINX Plus release.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 10 Sep 2015 15:50:32 +0300
parents 88d1a1d36c0c
children 695999bdd4a5
comparison
equal deleted inserted replaced
1560:dad3af7a1019 1561:ed420c318557
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="45"> 13 rev="46">
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>] 1121 [<literal>spdy</literal> | <literal>http2</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>] 1138 [<literal>spdy</literal> | <literal>http2</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>] 1155 [<literal>spdy</literal> | <literal>http2</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>]
1226 The <literal>spdy</literal> parameter (1.3.15) allows accepting 1226 The <literal>spdy</literal> parameter (1.3.15) allows accepting
1227 <link doc="ngx_http_spdy_module.xml">SPDY</link> connections on this port. 1227 <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 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 SPDY 1229 specified as well, but nginx can also be configured to accept SPDY
1230 connections without SSL. 1230 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>
1231 </para> 1245 </para>
1232 1246
1233 <para> 1247 <para>
1234 The <literal>proxy_protocol</literal> parameter (1.5.12) 1248 The <literal>proxy_protocol</literal> parameter (1.5.12)
1235 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