Skip to content

Timeout

The [timeout] section sets connection timeouts and graceful shutdown behavior. Static — applied at startup.

KeyDefaultDescription
upstream_connect_msabsent (no timeout)TCP connect to backend (ms). Omitted = no limit.
proxy_idle_ms60000Inbound idle timeout (ms).
tls_handshake_secs15Max time for client TLS handshake.
connection_handling_secs300Max time for full request/response on a connection.
shutdown_secs30Graceful shutdown window.
timeout:
upstream_connect_ms: 5000
proxy_idle_ms: 60000
tls_handshake_secs: 15
connection_handling_secs: 300
shutdown_secs: 30
keep_alive:
enabled: true
upstream_idle_timeout: 60

HTTP/1.1 keep-alive and upstream TCP keepalive. Applies only to HTTP/1.1; HTTP/2 connections are always persistent.