[nginx] The gRPC proxy module.

Maxim Dounin mdounin at mdounin.ru
Mon Mar 19 12:47:33 UTC 2018


On Mon, Mar 19, 2018 at 01:51:55AM -0700, Frank Liu wrote:

> Congratulations on the grpc support! Since h2/h2c are used to 
> talk to upstream grpc servers , does that mean we will also see 
> proxy_pass support http/2?

There are no such plans.

If you really want to use HTTP/2 to non-gRPC upstream servers for 
some reason, you may try to use grpc_pass for this.  Note though 
that its primary target is gRPC, and hence various differences 
from normal proxying, including:

- it doesn't use request buffering;
- it doesn't use response buffering and hence doesn't support 
  caching / storing responses;
- it passes trailers returned in the response to the client, which 
  might not be a good idea from security point of view.

Maxim Dounin

More information about the nginx mailing list