diff --git a/package/nginx/Config.in b/package/nginx/Config.in index 15e63f4a76..6ae790a949 100644 --- a/package/nginx/Config.in +++ b/package/nginx/Config.in @@ -351,6 +351,11 @@ config BR2_PACKAGE_NGINX_STREAM_GEOIP_MODULE help Enable ngx_stream_geoip_module +config BR2_PACKAGE_NGINX_STREAM_SSL_PREREAD_MODULE + bool "ngx_stream_ssl_preread_module" + help + Enable ngx_stream_ssl_preread_module + config BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE bool "ngx_stream_limit_conn_module" default y diff --git a/package/nginx/nginx.mk b/package/nginx/nginx.mk index 06fc49d246..6ecd6a9a80 100644 --- a/package/nginx/nginx.mk +++ b/package/nginx/nginx.mk @@ -239,6 +239,10 @@ NGINX_DEPENDENCIES += geoip NGINX_CONF_OPTS += --with-stream_geoip_module endif +ifeq ($(BR2_PACKAGE_NGINX_STREAM_SSL_PREREAD_MODULE),y) +NGINX_CONF_OPTS += --with-stream_ssl_preread_module +endif + 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) \