package/nginx: add stream realip option
stream realip is available since version 1.11.4 and
fe2774a9d6
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
ce0e86b293
commit
456aa0fb7e
@ -328,6 +328,11 @@ config BR2_PACKAGE_NGINX_STREAM
|
||||
|
||||
if BR2_PACKAGE_NGINX_STREAM
|
||||
|
||||
config BR2_PACKAGE_NGINX_STREAM_REALIP_MODULE
|
||||
bool "ngx_stream_realip_module"
|
||||
help
|
||||
Enable ngx_stream_realip_module
|
||||
|
||||
config BR2_PACKAGE_NGINX_STREAM_SSL_MODULE
|
||||
bool "ngx_stream_ssl_module"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
|
@ -224,6 +224,10 @@ endif # BR2_PACKAGE_NGINX_MAIL
|
||||
ifeq ($(BR2_PACKAGE_NGINX_STREAM),y)
|
||||
NGINX_CONF_OPTS += --with-stream
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NGINX_STREAM_REALIP_MODULE),y)
|
||||
NGINX_CONF_OPTS += --with-stream_realip_module
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NGINX_STREAM_SSL_MODULE),y)
|
||||
NGINX_DEPENDENCIES += openssl
|
||||
NGINX_CONF_OPTS += --with-stream_ssl_module
|
||||
|
Loading…
Reference in New Issue
Block a user