gateway icon indicating copy to clipboard operation
gateway copied to clipboard

Support auto host rewrite

Open guydc opened this issue 1 year ago • 1 comments

Description: Envoy supports automatic host rewriting. When enabled, the incoming host header is swapped with the DNS name or endpoint hostname of the selected envoy cluster.

Gateway-API and Envoy gateway support literal host rewriting. When multiple backends are configured (e.g. for weighted traffic splitting), it could be necessary to rewrite the hostname automatically, based on the dynamically selected backend.

Envoy Gateway can support automatic host rewriting by adding a new option to the backend traffic policy.

Relevant Links

  • https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-field-config-route-v3-routeaction-auto-host-rewrite

guydc avatar Apr 10 '24 22:04 guydc

This issue has been automatically marked as stale because it has not had activity in the last 30 days.

github-actions[bot] avatar May 11 '24 00:05 github-actions[bot]

This issue has been automatically marked as stale because it has not had activity in the last 30 days.

github-actions[bot] avatar Jul 21 '24 00:07 github-actions[bot]