nghttpx <https://nghttp2.org/documentation/nghttpx-howto.html> is capable 
of http/2 reverse proxy. It sounds like what you need.

On Thursday, August 17, 2017 at 11:39:19 AM UTC-7, Matt Mitchell wrote:
>
> Hi,
>
> We've been developing gRPC services for our backend. We would like to 
> prevent direct access to these services when in production, by having all 
> clients go through a proxy. We have a custom proxy setup now (based on 
> Jetty) that handles http/1 traffic - it also applies authentication and 
> handles sessions. What we'd like to do, is find a way to do the same thing 
> for our gRPC services.
>
> My initial thought was to somehow develop a simple pass-thru ("dumb") 
> handler for the http/2 (grpc) requests to the backend services. So requests 
> coming into the proxy would be routed to the backend services without any 
> inspection/manipulation of the data. But I'm unsure of how we'd do this 
> really. Is this approach possible?
>
> Another idea was to just import grpc into the proxy, startup a grpc server 
> and use the generated client libs to handle the proxying. But I wouldn't 
> want to do this if it required that we have to manually wire up each 
> request to the specific client class etc.. Is there a way to do this 
> dynamically?
>
> And lastly, we would like to reuse some of the auth handling we have in 
> our http/1 proxy - mainly, JWTs. Are there examples out there of using JWT 
> w/gRPC?
>
> Cheers,
> - Matt
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/d72f192f-3e92-4fec-a9a2-6aa1f6502211%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to