Mercurial > hg > nginx
comparison auto/options @ 7233:2713b2dbf5bb
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 17 Mar 2018 23:04:24 +0300 |
parents | 0bb747b2d7cb |
children | d87393919a10 |
comparison
equal
deleted
inserted
replaced
7232:a7ed15573ae9 | 7233:2713b2dbf5bb |
---|---|
84 HTTP_REWRITE=YES | 84 HTTP_REWRITE=YES |
85 HTTP_PROXY=YES | 85 HTTP_PROXY=YES |
86 HTTP_FASTCGI=YES | 86 HTTP_FASTCGI=YES |
87 HTTP_UWSGI=YES | 87 HTTP_UWSGI=YES |
88 HTTP_SCGI=YES | 88 HTTP_SCGI=YES |
89 HTTP_GRPC=YES | |
89 HTTP_PERL=NO | 90 HTTP_PERL=NO |
90 HTTP_MEMCACHED=YES | 91 HTTP_MEMCACHED=YES |
91 HTTP_LIMIT_CONN=YES | 92 HTTP_LIMIT_CONN=YES |
92 HTTP_LIMIT_REQ=YES | 93 HTTP_LIMIT_REQ=YES |
93 HTTP_EMPTY_GIF=YES | 94 HTTP_EMPTY_GIF=YES |
260 --without-http_rewrite_module) HTTP_REWRITE=NO ;; | 261 --without-http_rewrite_module) HTTP_REWRITE=NO ;; |
261 --without-http_proxy_module) HTTP_PROXY=NO ;; | 262 --without-http_proxy_module) HTTP_PROXY=NO ;; |
262 --without-http_fastcgi_module) HTTP_FASTCGI=NO ;; | 263 --without-http_fastcgi_module) HTTP_FASTCGI=NO ;; |
263 --without-http_uwsgi_module) HTTP_UWSGI=NO ;; | 264 --without-http_uwsgi_module) HTTP_UWSGI=NO ;; |
264 --without-http_scgi_module) HTTP_SCGI=NO ;; | 265 --without-http_scgi_module) HTTP_SCGI=NO ;; |
266 --without-http_grpc_module) HTTP_GRPC=NO ;; | |
265 --without-http_memcached_module) HTTP_MEMCACHED=NO ;; | 267 --without-http_memcached_module) HTTP_MEMCACHED=NO ;; |
266 --without-http_limit_conn_module) HTTP_LIMIT_CONN=NO ;; | 268 --without-http_limit_conn_module) HTTP_LIMIT_CONN=NO ;; |
267 --without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;; | 269 --without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;; |
268 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;; | 270 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;; |
269 --without-http_browser_module) HTTP_BROWSER=NO ;; | 271 --without-http_browser_module) HTTP_BROWSER=NO ;; |