From 209f4a8108a9de2bbad66fa22b211d7067ba800f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 22 Jun 2020 21:31:12 +0200 Subject: [PATCH] package/nginx: add stream return option stream return module has been added in version 1.11.2 with https://github.com/nginx/nginx/commit/a7c6f8c1d7cb817bf84b639ee0933f9ffed05275 and is enabled by default, add an option to be able to disable it Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/nginx/Config.in | 6 ++++++ package/nginx/nginx.mk | 1 + 2 files changed, 7 insertions(+) diff --git a/package/nginx/Config.in b/package/nginx/Config.in index 64406664d3..cad5903882 100644 --- a/package/nginx/Config.in +++ b/package/nginx/Config.in @@ -352,6 +352,12 @@ config BR2_PACKAGE_NGINX_STREAM_MAP_MODULE help Enable ngx_stream_map_module +config BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE + bool "ngx_stream_return_module" + default y + help + Enable ngx_stream_return_module + config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE bool "ngx_stream_upstream_hash_module" default y diff --git a/package/nginx/nginx.mk b/package/nginx/nginx.mk index 1ff59e7f97..344d41d410 100644 --- a/package/nginx/nginx.mk +++ b/package/nginx/nginx.mk @@ -233,6 +233,7 @@ NGINX_CONF_OPTS += \ $(if $(BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE),,--without-stream_limit_conn_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE),,--without-stream_access_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_MAP_MODULE),,--without-stream_map_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE),,--without-stream_return_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE),,--without-stream_upstream_hash_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_LEAST_CONN_MODULE),,--without-stream_upstream_least_conn_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_ZONE_MODULE),,--without-stream_upstream_zone_module) -- 2.30.2