server_name_matcher.proto

Package: envoy.config.matching.custom_matchers.server_name.v3

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/external/envoy/config/matching/custom_matchers/server_name/v3/server_name_matcher.proto

ServerNameMatcher

Matches a specific server name provided in the client request against a set server names configured for the matcher to handle, with possible prefix wildcard.

"serverNameMatchers": []envoy.config.matching.custom_matchers.server_name.v3.ServerNameMatcher.ServerNameSetMatcher

Field Type Description
serverNameMatchers []envoy.config.matching.custom_matchers.server_name.v3.ServerNameMatcher.ServerNameSetMatcher Match server names. Order doesn’t matter, the most specific server name is matched.

ServerNameSetMatcher

Specifies a list of server names and a match action.

"serverNames": []string
"onMatch": .xds.type.matcher.v3.Matcher.OnMatch

Field Type Description
serverNames []string A non-empty set of server names. Server name can start with a wildcard prefix, e.g. “*.example.com”.
onMatch .xds.type.matcher.v3.Matcher.OnMatch Match action to apply when the input matches the server name.