diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2018-03-17 23:04:24 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2018-03-17 23:04:24 +0300 |
commit | 56ad960e7a3d4cf16c03ff231616a76c4834e548 (patch) | |
tree | da709e2fc112899539b8ba2727ef78c7fe177507 /src/http/ngx_http_request.c | |
parent | c67124190c9caf42c9d63b889945f73ccafa3ac6 (diff) | |
download | nginx-56ad960e7a3d4cf16c03ff231616a76c4834e548.tar.gz nginx-56ad960e7a3d4cf16c03ff231616a76c4834e548.zip |
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.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions