zhangw commented on issue #8258:
URL: https://github.com/apache/apisix/issues/8258#issuecomment-1305199920
now I find a workaround like this:
location @grpc_error_pass {
grpc_set_header Content-Type application/grpc;
grpc_socket_keepalive on;
grpc_pass unix:/tmp/foo.sock;
}
location @grpc_pass {
access_by_lua_block {
-- in some conditional
ngx.exec("@grpc_error_pass")
}
}
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]