[nginx] The gRPC proxy module.
gfrankliu at gmail.com
Mon Mar 19 08:51:55 UTC 2018
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?
> On Mar 18, 2018, at 3:03 AM, Maxim Konovalov <maxim at nginx.com> wrote:
> for those who don't follow nginx-devel at .
> We also published a blog post on this topic
> -------- Forwarded Message --------
> Subject: [nginx] The gRPC proxy module.
> Date: Sat, 17 Mar 2018 20:08:27 +0000
> From: Maxim Dounin <mdounin at mdounin.ru>
> Reply-To: nginx-devel at nginx.org
> To: nginx-devel at nginx.org
> details: http://hg.nginx.org/nginx/rev/2713b2dbf5bb
> branches: changeset: 7233:2713b2dbf5bb
> user: Maxim Dounin <mdounin at mdounin.ru>
> date: Sat Mar 17 23:04:24 2018 +0300
> The gRPC proxy module.
> The module allows passing requests to upstream gRPC servers. The
> module is built by default as long as HTTP/2 support is compiled in.
> Example configuration:
> grpc_pass 127.0.0.1:9000;
> Alternatively, the "grpc://" scheme can be used:
> grpc_pass grpc://127.0.0.1:9000;
> Keepalive support is available via the upstream keepalive module.
> Note that keepalive connections won't currently work with grpc-go as
> it fails to handle SETTINGS_HEADER_TABLE_SIZE.
> To use with SSL:
> grpc_pass grpcs://127.0.0.1:9000;
> SSL connections use ALPN "h2" when available. At least grpc-go
> works fine without ALPN, so if ALPN is not available we just
> establish a connection without it.
> Tested with grpc-c++ and grpc-go.
> Maxim Konovalov
> nginx mailing list
> nginx at nginx.org
More information about the nginx