comparison xml/en/docs/http/ngx_http_core_module.xml @ 2724:00afc7c4d4df

Documented listen options that imply "bind".
author Ruslan Ermilov <ru@nginx.com>
date Thu, 20 May 2021 19:56:08 +0300
parents c1d62e514b3c
children 4934cbc1db19
comparison
equal deleted inserted replaced
2723:61a89c4f37cf 2724:00afc7c4d4df
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="96"> 13 rev="97">
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>
1487 for the given port (<literal>*:</literal><value>port</value>), nginx 1487 for the given port (<literal>*:</literal><value>port</value>), nginx
1488 will <c-func>bind</c-func> only to <literal>*:</literal><value>port</value>. 1488 will <c-func>bind</c-func> only to <literal>*:</literal><value>port</value>.
1489 It should be noted that the <c-func>getsockname</c-func> system call will be 1489 It should be noted that the <c-func>getsockname</c-func> system call will be
1490 made in this case to determine the address that accepted the connection. 1490 made in this case to determine the address that accepted the connection.
1491 If the <literal>setfib</literal>, 1491 If the <literal>setfib</literal>,
1492 <literal>fastopen</literal>,
1492 <literal>backlog</literal>, <literal>rcvbuf</literal>, 1493 <literal>backlog</literal>, <literal>rcvbuf</literal>,
1493 <literal>sndbuf</literal>, <literal>accept_filter</literal>, 1494 <literal>sndbuf</literal>, <literal>accept_filter</literal>,
1494 <literal>deferred</literal>, <literal>ipv6only</literal>, 1495 <literal>deferred</literal>, <literal>ipv6only</literal>,
1496 <literal>reuseport</literal>,
1495 or <literal>so_keepalive</literal> parameters 1497 or <literal>so_keepalive</literal> parameters
1496 are used then for a given 1498 are used then for a given
1497 <value>address</value>:<value>port</value> pair 1499 <value>address</value>:<value>port</value> pair
1498 a separate <c-func>bind</c-func> call will always be made. 1500 a separate <c-func>bind</c-func> call will always be made.
1499 </tag-desc> 1501 </tag-desc>