This PR adds native gRPC proxying support to Kong. New named location blocks -- grpc
and grpcs
were added to the Kong Nginx template. Incoming gRPC requests are redirected to said locations, where a grpc_pass
happens -- as opposed to proxy_pass
. New protocols were added for gRPC and gRPCs, which can be specified, e.g., upon Route and Service creation.
The following example shows how to create a gRPC Service and Route. grpcbin and grpcurl are used in these examples.