federicotdn commented on issue #11402: URL: https://github.com/apache/apisix/issues/11402#issuecomment-2262585447
Hi, our ApisixRoute looks a bit like this, unfortunately I can't share all of the details: ```yaml apiVersion: apisix.apache.org/v2 kind: ApisixRoute metadata: ... spec: http: - match: paths: - /foo.Bar/* name: grpc plugins: - config: functions: - | return function(_, ctx) local core = require("apisix.core") local some_header = core.request.header(ctx, "x-foobar") if some_header ~= "some_value" then return 404, "Not found" end end phase: rewrite enable: true name: serverless-pre-function upstreams: - name: my-upstream weight: 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