summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/nginx.in7
-rw-r--r--rules/nginx.make1
2 files changed, 8 insertions, 0 deletions
diff --git a/rules/nginx.in b/rules/nginx.in
index fa2dcf9e8..e9296ecb8 100644
--- a/rules/nginx.in
+++ b/rules/nginx.in
@@ -62,6 +62,13 @@ config NGINX_HTTP_GZIP_STATIC_MODULE
ngx_http_gzip_static_module allows sending precompressed files
with the .gz filename extension instead of regular files.
+config NGINX_HTTP_GRPC_MODULE
+ bool
+ select NGINX_HTTP_V2_MODULE
+ prompt "ngx_http_grpc_module"
+ help
+ ngx_http_grpc_module allows passing requests to a gRPC server.
+
config NGINX_HTTP_PROXY_MODULE
bool
prompt "ngx_http_proxy_module"
diff --git a/rules/nginx.make b/rules/nginx.make
index 8f85595db..335fc8fb0 100644
--- a/rules/nginx.make
+++ b/rules/nginx.make
@@ -120,6 +120,7 @@ NGINX_CONF_OPTOUT-$(PTXCONF_NGINX_HTTP_ACCESS_MODULE) := http_access_module
NGINX_CONF_OPTOUT-$(PTXCONF_NGINX_HTTP_AUTH_BASIC_MODULE) += http_auth_basic_module
NGINX_CONF_OPTOUT-$(PTXCONF_NGINX_HTTP_AUTOINDEX_MODULE) += http_autoindex_module
NGINX_CONF_OPTOUT-$(PTXCONF_NGINX_HTTP_FASTCGI_MODULE) += http_fastcgi_module
+NGINX_CONF_OPTOUT-$(PTXCONF_NGINX_HTTP_GRPC_MODULE) += http_grpc_module
NGINX_CONF_OPTOUT-$(PTXCONF_NGINX_HTTP_GZIP_MODULE) += http_gzip_module
NGINX_CONF_OPTOUT-$(PTXCONF_NGINX_HTTP_PROXY_MODULE) += http_proxy_module
NGINX_CONF_OPTOUT-$(PTXCONF_NGINX_HTTP_REWRITE_MODULE) += http_rewrite_module