【问题标题】:envoy how to configure query_parameters not exist match?envoy 如何配置 query_parameters 不存在匹配?
【发布时间】:2021-04-24 07:39:35
【问题描述】:

"sign" 不存在匹配。如何配置?

              routes:
              - match:
                  prefix: "/log"
                  query_parameters:
                  - name: "sign"
                    present_match: true

【问题讨论】:

    标签: istio envoyproxy


    【解决方案1】:

    您可以使用https://istio.io/latest/docs/reference/config/networking/virtual-service/#HTTPMatchRequestqueryParams 并指定正则表达式以与您的参数不匹配

    【讨论】:

      猜你喜欢
      • 2020-11-10
      • 1970-01-01
      • 2013-03-25
      • 2021-12-02
      • 2012-02-24
      • 1970-01-01
      • 2020-01-29
      • 1970-01-01
      • 2022-01-15
      相关资源
      最近更新 更多