diff --git a/src/docs/markdown/caddyfile/options.md b/src/docs/markdown/caddyfile/options.md index 32d97e5..cf58874 100644 --- a/src/docs/markdown/caddyfile/options.md +++ b/src/docs/markdown/caddyfile/options.md @@ -118,6 +118,7 @@ Possible options are (click on each option to jump to its documentation): write idle } + keepalive_interval trusted_proxies ... client_ip_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.