Repository navigation
Description
Feature Overview
In NGINX Gateway Fabric, we're looking to support Gateway API HTTPRoute Timeouts.
The API defines two types of timeouts:
timeouts.requestis the timeout for the Gateway API implementation to send a response to a client HTTP request. This timeout is intended to cover as close to the whole request-response transaction as possible although an implementation MAY choose to start the timeout after the entire request stream has been received instead of immediately after the transaction is initiated by the client.timeouts.backendRequestis a timeout for a single request from the gateway to a backend. Typically used in conjunction with retry configuration, if supported by an implementation. This covers the time from when the request first starts being sent from the gateway to when the full response has been received from the backend.
backend = upstream
gateway/implementation = NGINX
For even more details on how these timeouts are expected to behave, see the Gateway API reference.
The idea is that NGINX Gateway Fabric would take the values specified by a user in these two API fields and convert them to an NGINX configuration that satisfies the requirements set by the API specification.
Alternatives Considered
We initially looked into the existing timeouts provided by NGINX (proxy_read_timeout, proxy_connect_timeout, and proxy_send_timeout), but after further understanding how these actually work, they don't seem to fit the needs of the Gateway API specification. These work at the packet/connection level and don't consider the entire lifecycle of an HTTP request/response.
Additional Context
API specification: https://gateway-api.sigs.k8s.io/reference/spec/#httproutetimeouts
API design/proposal: https://gateway-api.sigs.k8s.io/geps/gep-1742/
Copied from issue 1262 of the upstream nginx repository, as test data for trib sync.
Activity
github-actions commentedon Nov 22, 2026
👋 Thanks for opening this issue and contributing to the NGINX project!
A maintainer will review it and follow up when possible. We appreciate your support.
elielvipata commentedon Nov 23, 2026
tributary goalpost
github/timeouts: in progressStill needed to commit:
gh7gh8Written by
trib sync githuband edited in place. Approvals are given in tributary, not here.