Skip to content
Discussion options

You must be logged in to vote

match_typematch_listhttp_service 是一个层级的。试下这样

http_service:
  authorization_request:
    allowed_headers:
    - exact: "Authorization"
    - exact: "Content-Type"
    - exact: "Accept"
    - exact: "User-Agent"
    - exact: "X-Request-ID"
    - prefix: "Kbfs-"
  authorization_response:
    allowed_upstream_headers:
    - exact: "x-md-global-userID"
    - exact: "X-User-Info"
    - exact: "X-Auth-Roles"
    - prefix: "x-md-"
  endpoint:
    path: "/auth/validate"
    request_method: "POST"
    service_name: "abc.user.http.DEFAULT-GROUP.public.nacos"
    service_port: 8000
  endpoint_mode: "forward_auth"
match_list:
- match_rule_domain: "api-dev.abc.net"
   match_rule_method: "*"
   ma…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@wh-tianya
Comment options

Answer selected by hanxiantao
Comment options

You must be logged in to vote
3 replies
@wh-tianya
Comment options

@dukehxin
Comment options

@dukehxin
Comment options

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