-
Hi, I have deployed Envoy Gateway using Helm (version 1.3.0) and am in the process of configuring it to manage traffic routing between multiple Kubernetes clusters in different regions. I am seeking assistance with a specific requirement I have encountered during this setup. Use CaseWe define a primary HTTPRoute using a common FQDN, such as example.com. This route should direct traffic to regional backends with FQDNs like example.region1.com and example.region2.com. However, the backend clusters need to receive the regional FQDN in the host header to match against their ingress configurations. Expected BehaviorWhen a request is routed from example.com, the Envoy Gateway should have an option available to overwrite the host header with the hostname value defined in the backend/service(externalname) resource for the backend it's routing to. Actual BehaviorThe original host header (example.com) is being forwarded to the backend clusters, which do not have ingress configurations in place, resulting in routing issues. Request for AssistanceIn the generated Envoy configuration, within the dynamic_listeners section under default_filter_chain, I noticed that the server_header_transformation key is set to PASS_THROUGH. Is there a way to modify or control this setting? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
hey this is possible today, check out https://gateway.envoyproxy.io/docs/tasks/traffic/http-urlrewrite/#rewrite-url-host-name-by-header-or-backend |
Beta Was this translation helpful? Give feedback.
hey this is possible today, check out https://gateway.envoyproxy.io/docs/tasks/traffic/http-urlrewrite/#rewrite-url-host-name-by-header-or-backend