mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-29 13:31:43 -09:00
package/nginx: add stream geoip support
stream geoip module has been added in version 1.11.3 with
4cf0e28483
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
3e9d985df7
commit
4dee2af32d
@@ -334,6 +334,12 @@ config BR2_PACKAGE_NGINX_STREAM_SSL_MODULE
|
|||||||
help
|
help
|
||||||
Enable ngx_stream_ssl_module
|
Enable ngx_stream_ssl_module
|
||||||
|
|
||||||
|
config BR2_PACKAGE_NGINX_STREAM_GEOIP_MODULE
|
||||||
|
bool "ngx_stream_geoip_module"
|
||||||
|
select BR2_PACKAGE_GEOIP
|
||||||
|
help
|
||||||
|
Enable ngx_stream_geoip_module
|
||||||
|
|
||||||
config BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE
|
config BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE
|
||||||
bool "ngx_stream_limit_conn_module"
|
bool "ngx_stream_limit_conn_module"
|
||||||
default y
|
default y
|
||||||
|
|||||||
@@ -229,6 +229,11 @@ NGINX_DEPENDENCIES += openssl
|
|||||||
NGINX_CONF_OPTS += --with-stream_ssl_module
|
NGINX_CONF_OPTS += --with-stream_ssl_module
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_NGINX_STREAM_GEOIP_MODULE),y)
|
||||||
|
NGINX_DEPENDENCIES += geoip
|
||||||
|
NGINX_CONF_OPTS += --with-stream_geoip_module
|
||||||
|
endif
|
||||||
|
|
||||||
NGINX_CONF_OPTS += \
|
NGINX_CONF_OPTS += \
|
||||||
$(if $(BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE),,--without-stream_limit_conn_module) \
|
$(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_ACCESS_MODULE),,--without-stream_access_module) \
|
||||||
|
|||||||
Reference in New Issue
Block a user