solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
https://docs.solo.io/
Apache License 2.0
4.08k stars 438 forks source link

Expose strip_any_host_port on ConnectionManagerSettings #6067

Open juli-vert opened 2 years ago

juli-vert commented 2 years ago

Version

1.8.x

Is your feature request related to a problem? Please describe.

We do have some clients sending the port as part of the host header. It means the domain does not match which the one configured on the virtualhost (without the port). Envoy API v3 has a ConnectionManager Filter which does this: strip_any_host_port

Describe the solution you'd like

Expose strip_any_host_port here So it can be configured as:

customHttpsGateway:  
  options:  
    httpConnectionManagerSettings:
      stripAnyHostPort: true

Describe alternatives you've considered

No response

Additional Context

We are planning to update to Gloo 1.10.x with FIPs compliant control-plane sooner rather than later (next week)

github-actions[bot] commented 4 months ago

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.