Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 2705:06805824d0f0
Documented the keepalive_time directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 13 Apr 2021 15:05:16 +0100 |
parents | 679fb7712ab4 |
children | 4f44386a16b1 |
comparison
equal
deleted
inserted
replaced
2704:6ca9548f46e0 | 2705:06805824d0f0 |
---|---|
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="93"> | 13 rev="94"> |
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> |
943 <para> | 943 <para> |
944 Closing connections periodically is necessary to free | 944 Closing connections periodically is necessary to free |
945 per-connection memory allocations. | 945 per-connection memory allocations. |
946 Therefore, using too high maximum number of requests | 946 Therefore, using too high maximum number of requests |
947 could result in excessive memory usage and not recommended. | 947 could result in excessive memory usage and not recommended. |
948 </para> | |
949 | |
950 </directive> | |
951 | |
952 | |
953 <directive name="keepalive_time"> | |
954 <syntax><value>time</value></syntax> | |
955 <default>1h</default> | |
956 <context>http</context> | |
957 <context>server</context> | |
958 <context>location</context> | |
959 <appeared-in>1.19.10</appeared-in> | |
960 | |
961 <para> | |
962 Limits the maximum time during which | |
963 requests can be processed through one keep-alive connection. | |
964 After this time is reached, the connection is closed | |
965 following the subsequent request processing. | |
948 </para> | 966 </para> |
949 | 967 |
950 </directive> | 968 </directive> |
951 | 969 |
952 | 970 |