zbh0323 commented on issue #8464:
URL: https://github.com/apache/apisix/issues/8464#issuecomment-1340305728

   > Not so clear for your case. Do you want a grpc proxy or translating http 
to grpc or vice versa.
   > 
   > If you want a proxy, if you know the way grpc concatenates service and 
methods to a URI path, then you know how to write apisix routes.
   
   Just like this
   
   
   grpc:
     - name: grpc
       priority: 3
       match:
         paths:
           - /{{ .Release.Name }}/grpc/*
       backends:
         - serviceName: {{ .Release.Name }}
           servicePort: grpc
       plugins:
         - name: proxy-rewrite
           enable: true
           config:
             regex_uri: ["^/{{ .Release.Name }}/grpc/(.*)", "/$1"]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to