@ -25,6 +25,7 @@ option (gogoproto.equal_all) = true;
/ / host header. This allows a single listener to service multiple top level domain path trees. Once
/ / a virtual host is selected based on the domain , the routes are processed in order to see which
/ / upstream cluster to route to or whether to perform a redirect.
/ / [ # comment : next free field : 14 ]
message VirtualHost {
/ / The logical name of the virtual host. This is used when emitting certain
/ / statistics but is not relevant for routing.
@ -81,6 +82,10 @@ message VirtualHost {
/ / < config_http_conn_man_headers_custom_request_headers > ` .
repeated core.HeaderValueOption request_headers_to_add = 7 ;
/ / Specifies a list of HTTP headers that should be removed from each request
/ / handled by this virtual host.
repeated string request_headers_to_remove = 13 ;
/ / Specifies a list of HTTP headers that should be added to each response
/ / handled by this virtual host. Headers specified at this level are applied
/ / after headers from enclosed : ref : ` envoy_api_msg_route.Route ` and before headers from the
@ -113,6 +118,7 @@ message VirtualHost {
/ /
/ / Envoy supports routing on HTTP method via : ref : ` header matching
/ / < envoy_api_msg_route.HeaderMatcher > ` .
/ / [ # comment : next free field : 13 ]
message Route {
/ / Route matching parameters.
RouteMatch match = 1 [ ( validate.rules ) . message.required = true , ( gogoproto.nullable ) = false ] ;
@ -157,6 +163,10 @@ message Route {
/ / < config_http_conn_man_headers_custom_request_headers > ` .
repeated core.HeaderValueOption request_headers_to_add = 9 ;
/ / Specifies a list of HTTP headers that should be removed from each request
/ / matching this route.
repeated string request_headers_to_remove = 12 ;
/ / Specifies a set of headers that will be added to responses to requests
/ / matching this route. Headers specified at this level are applied before
/ / headers from the enclosing : ref : ` envoy_api_msg_route.VirtualHost ` and
@ -176,6 +186,7 @@ message Route {
/ / multiple upstream clusters along with weights that indicate the percentage of
/ / traffic to be forwarded to each cluster. The router selects an upstream cluster based on the
/ / weights.
/ / [ # comment : next free field : 10 ]
message WeightedCluster {
message ClusterWeight {
/ / Name of the upstream cluster. The cluster must exist in the
@ -204,6 +215,10 @@ message WeightedCluster {
/ / < config_http_conn_man_headers_custom_request_headers > ` .
repeated core.HeaderValueOption request_headers_to_add = 4 ;
/ / Specifies a list of HTTP headers that should be removed from each request when
/ / this cluster is selected through the enclosing : ref : ` envoy_api_msg_route.RouteAction ` .
repeated string request_headers_to_remove = 9 ;
/ / Specifies a list of headers to be added to responses when this cluster is selected
/ / through the enclosing : ref : ` envoy_api_msg_route.RouteAction ` .
/ / Headers specified at this level are applied before headers from the enclosing