Traffic management

In this section

Routing traffic to applications

Route external traffic to Kubernetes applications using NGINX Gateway Fabric.

Application routes using HTTP matching conditions

Route applications with HTTP matching conditions such as paths, methods, headers, and query parameters.

Configure HTTPS termination

Terminate HTTPS traffic at NGINX Gateway Fabric using Gateway listeners and certificates.

HTTP redirects and rewrites

Redirect or rewrite HTTP traffic using NGINX Gateway Fabric routes and filters.

Modify HTTP request and response headers

Add, set, or remove HTTP request and response headers with NGINX Gateway Fabric.

Configure TLS routing with TLSRoute

Forward end-to-end TLS traffic through NGINX Gateway Fabric either TLS passthrough or terminate

Configure Request Mirroring

Mirror HTTP or gRPC traffic to additional backends with NGINX Gateway Fabric.

Snippets

Insert advanced NGINX configuration into generated configs using SnippetsFilter and SnippetsPolicy.

Client Settings Policy API

Use ClientSettingsPolicy to configure client-to-NGINX connection behavior such as body size and keepalive.

Upstream Settings Policy API

Use UpstreamSettingsPolicy to configure load balancing, zone size, and keepalives between NGINX and upstreams.

Session Persistence

Configure session persistence so related client requests reach the same backend pod.

TCPRoute

Configure a TCPRoute to forward TCP connections from a Gateway listener to backend services.

UDPRoute

Configure a UDPRoute to forward UDP packets from a Gateway listener to backend services.

Proxy Settings Policy API

Use ProxySettingsPolicy to configure proxy buffering and timeouts between NGINX and backends.

ListenerSet API

How to use the `ListenerSet` API to specify additional listeners for a Gateway.

Rate Limit Policy API

Use RateLimitPolicy to apply NGINX rate limiting to Gateways and routes.

Configure upstream HTTP/2 through Service appProtocol

Configure NGINX Gateway Fabric to use HTTP/2 for upstream connections by setting appProtocol to kubernetes.io/h2c on a Kubernetes Service port.