.. _envoy_v3_api_file_envoy/extensions/path/match/uri_template/v3/uri_template_match.proto: Uri Template Match Config (proto) ================================= .. _extension_envoy.path.match.uri_template.uri_template_matcher: This extension has the qualified name ``envoy.path.match.uri_template.uri_template_matcher`` .. note:: This extension is intended to be robust against both untrusted downstream and upstream traffic. .. tip:: This extension extends and can be used with the following extension category: - :ref:`envoy.path.match ` This extension must be configured with one of the following type URLs: - :ref:`type.googleapis.com/envoy.extensions.path.match.uri_template.v3.UriTemplateMatchConfig ` .. _envoy_v3_api_msg_extensions.path.match.uri_template.v3.UriTemplateMatchConfig: extensions.path.match.uri_template.v3.UriTemplateMatchConfig ------------------------------------------------------------ :repo:`[extensions.path.match.uri_template.v3.UriTemplateMatchConfig proto] ` If specified, the route is a template match rule meaning that the ``:path`` header (without the query string) must match the given ``path_template`` pattern. Path template matching types: * ``*`` : Matches a single path component, up to the next path separator: / * ``**`` : Matches zero or more path segments. If present, must be the last operator. * ``{name} or {name=*}`` : A named variable matching one path segment up to the next path separator: /. * ``{name=videos/*}`` : A named variable matching more than one path segment. The path component matching videos/* is captured as the named variable. * ``{name=**}`` : A named variable matching zero or more path segments. For example: * ``/videos/*/*/*.m4s`` would match ``videos/123414/hls/1080p5000_00001.m4s`` * ``/videos/{file}`` would match ``/videos/1080p5000_00001.m4s`` * ``/**.mpd`` would match ``/content/123/india/dash/55/manifest.mpd`` .. code-block:: json :force: { "path_template": ... } .. _envoy_v3_api_field_extensions.path.match.uri_template.v3.UriTemplateMatchConfig.path_template: path_template (`string `_, *REQUIRED*)