Skip to content

Timeout

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

Key Default Description
upstream_connect_ms absent (no timeout) TCP connect to backend (ms). Omitted = no limit.
proxy_idle_ms 60000 Inbound idle timeout (ms).
tls_handshake_secs 15 Max time for client TLS handshake.
connection_handling_secs 300 Max time for full request/response on a connection.
shutdown_secs 30 Graceful 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.