|
|
|
@ -104,12 +104,14 @@ message UpstreamHttpProtocolOptions { |
|
|
|
|
// upstream connections based on the downstream HTTP host/authority header or any other arbitrary |
|
|
|
|
// header when :ref:`override_auto_sni_header <envoy_v3_api_field_config.core.v3.UpstreamHttpProtocolOptions.override_auto_sni_header>` |
|
|
|
|
// is set, as seen by the :ref:`router filter <config_http_filters_router>`. |
|
|
|
|
// Does nothing if a filter before the http router filter sets the corresponding metadata. |
|
|
|
|
bool auto_sni = 1; |
|
|
|
|
|
|
|
|
|
// Automatic validate upstream presented certificate for new upstream connections based on the |
|
|
|
|
// downstream HTTP host/authority header or any other arbitrary header when :ref:`override_auto_sni_header <envoy_v3_api_field_config.core.v3.UpstreamHttpProtocolOptions.override_auto_sni_header>` |
|
|
|
|
// is set, as seen by the :ref:`router filter <config_http_filters_router>`. |
|
|
|
|
// This field is intended to be set with ``auto_sni`` field. |
|
|
|
|
// Does nothing if a filter before the http router filter sets the corresponding metadata. |
|
|
|
|
bool auto_san_validation = 2; |
|
|
|
|
|
|
|
|
|
// An optional alternative to the host/authority header to be used for setting the SNI value. |
|
|
|
@ -119,6 +121,7 @@ message UpstreamHttpProtocolOptions { |
|
|
|
|
// is not found or the value is empty, host/authority header will be used instead. |
|
|
|
|
// This field is intended to be set with ``auto_sni`` and/or ``auto_san_validation`` fields. |
|
|
|
|
// If none of these fields are set then setting this would be a no-op. |
|
|
|
|
// Does nothing if a filter before the http router filter sets the corresponding metadata. |
|
|
|
|
string override_auto_sni_header = 3 |
|
|
|
|
[(validate.rules).string = {well_known_regex: HTTP_HEADER_NAME ignore_empty: true}]; |
|
|
|
|
} |
|
|
|
|