mirror of
https://github.com/caddyserver/website.git
synced 2025-04-25 14:36:16 -04:00
Document keepalive_timeout
(was missed somehow)
This commit is contained in:
parent
a94fa2fee0
commit
9b60292fc6
1 changed files with 15 additions and 0 deletions
|
@ -118,6 +118,7 @@ Possible options are (click on each option to jump to its documentation):
|
|||
write <duration>
|
||||
idle <duration>
|
||||
}
|
||||
keepalive_interval <duration>
|
||||
trusted_proxies <module> ...
|
||||
client_ip_headers <headers...>
|
||||
metrics
|
||||
|
@ -823,6 +824,20 @@ Also included is the [`proxy_protocol`](/docs/json/apps/http/servers/listener_wr
|
|||
```
|
||||
|
||||
|
||||
##### `keepalive_interval`
|
||||
|
||||
The interval at which TCP keepalive packets are sent to keep the connection alive at the TCP layer when no other data is being transmitted. Defaults to `15s`.
|
||||
|
||||
```caddy
|
||||
{
|
||||
servers {
|
||||
keepalive_interval 30s
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
##### `trusted_proxies`
|
||||
|
||||
Allows configuring IP ranges (CIDRs) of proxy servers from which requests should be trusted. By default, no proxies are trusted.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue