Dynamic forward proxy¶
config.filter.http.dynamic_forward_proxy.v2alpha.FilterConfig¶
[config.filter.http.dynamic_forward_proxy.v2alpha.FilterConfig proto]
Configuration for the dynamic forward proxy HTTP filter. See the architecture overview for more information.
{
"dns_cache_config": "{...}"
}
- dns_cache_config
(config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig, REQUIRED) The DNS cache configuration that the filter will attach to. Note this configuration must match that of associated dynamic forward proxy cluster configuration.
config.filter.http.dynamic_forward_proxy.v2alpha.PerRouteConfig¶
[config.filter.http.dynamic_forward_proxy.v2alpha.PerRouteConfig proto]
Per route Configuration for the dynamic forward proxy HTTP filter.
{
"host_rewrite": "..."
}
- host_rewrite
(string) Indicates that before DNS lookup, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen.