summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2018-05-14 16:32:41 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-05-17 12:07:14 +0200
commita48864647936dac54ea6cca795171a6a63d5eefc (patch)
treee114882c1dcbfcddb2e57629c6eff95ee2661dda /rules
parent4920e3877f134496cb8d75d54160ceb120e1dfca (diff)
downloadptxdist-a48864647936dac54ea6cca795171a6a63d5eefc.tar.gz
ptxdist-a48864647936dac54ea6cca795171a6a63d5eefc.tar.xz
nginx: support http_grpc_module
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-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