Skip to content

合并slash #1479

Answered by johnlanni
chenvista asked this question in Q&A
Nov 6, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: merge-slash
  namespace: higress-system
spec:
  configPatches:
  - applyTo: NETWORK_FILTER
    match:
      context: GATEWAY
      listener:
        filterChain:
          filter:
            name: envoy.filters.network.http_connection_manager
    patch:
      operation: MERGE
      value:
        name: envoy.filters.network.http_connection_manager
        typed_config:
          '@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          merge_slashes: true

apply 这个 envoyfilter 即可

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@chenvista
Comment options

@johnlanni
Comment options

Answer selected by johnlanni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants