Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 2199:1d60e4b4ed64
Documented SO_REUSEPORT_LB for listen reuseport.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 03 Jul 2018 15:52:40 +0300 |
parents | f6e578b1b02d |
children | 5cacd6fffade |
comparison
equal
deleted
inserted
replaced
2198:bb2c6b63cb9a | 2199:1d60e4b4ed64 |
---|---|
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="78"> | 13 rev="79"> |
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> |
1450 <literal>reuseport</literal> | 1450 <literal>reuseport</literal> |
1451 </tag-name> | 1451 </tag-name> |
1452 <tag-desc> | 1452 <tag-desc> |
1453 this parameter (1.9.1) instructs to create an individual listening socket | 1453 this parameter (1.9.1) instructs to create an individual listening socket |
1454 for each worker process | 1454 for each worker process |
1455 (using the <c-def>SO_REUSEPORT</c-def> socket option), allowing a kernel | 1455 (using the |
1456 <c-def>SO_REUSEPORT</c-def> socket option on Linux 3.9+ and DragonFly BSD, | |
1457 or <c-def>SO_REUSEPORT_LB</c-def> on FreeBSD 12+), allowing a kernel | |
1456 to distribute incoming connections between worker processes. | 1458 to distribute incoming connections between worker processes. |
1457 This currently works only on Linux 3.9+ and DragonFly BSD. | 1459 This currently works only on Linux 3.9+, DragonFly BSD, |
1460 and FreeBSD 12+ (1.15.1). | |
1458 <note> | 1461 <note> |
1459 Inappropriate use of this option may have its security | 1462 Inappropriate use of this option may have its security |
1460 <link url="http://man7.org/linux/man-pages/man7/socket.7.html">implications</link>. | 1463 <link url="http://man7.org/linux/man-pages/man7/socket.7.html">implications</link>. |
1461 </note> | 1464 </note> |
1462 </tag-desc> | 1465 </tag-desc> |