You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/11/07 07:39:55 UTC
[GitHub] [apisix] zhangw commented on issue #8258: feat: I hope the unix domain socket could be as the upstream node.
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org