mirror of
https://github.com/nginx/nginx.git
synced 2024-11-24 04:49:01 +08:00
Stream: geo module.
This commit is contained in:
parent
4cf0e28483
commit
bb790f5d30
10
auto/modules
10
auto/modules
@ -1024,6 +1024,16 @@ if [ $STREAM != NO ]; then
|
||||
. auto/module
|
||||
fi
|
||||
|
||||
if [ $STREAM_GEO = YES ]; then
|
||||
ngx_module_name=ngx_stream_geo_module
|
||||
ngx_module_deps=
|
||||
ngx_module_srcs=src/stream/ngx_stream_geo_module.c
|
||||
ngx_module_libs=
|
||||
ngx_module_link=$STREAM_GEO
|
||||
|
||||
. auto/module
|
||||
fi
|
||||
|
||||
if [ $STREAM_GEOIP != NO ]; then
|
||||
ngx_module_name=ngx_stream_geoip_module
|
||||
ngx_module_deps=
|
||||
|
@ -117,6 +117,7 @@ STREAM=NO
|
||||
STREAM_SSL=NO
|
||||
STREAM_LIMIT_CONN=YES
|
||||
STREAM_ACCESS=YES
|
||||
STREAM_GEO=YES
|
||||
STREAM_GEOIP=NO
|
||||
STREAM_MAP=YES
|
||||
STREAM_RETURN=YES
|
||||
@ -300,6 +301,7 @@ use the \"--with-mail_ssl_module\" option instead"
|
||||
--without-stream_limit_conn_module)
|
||||
STREAM_LIMIT_CONN=NO ;;
|
||||
--without-stream_access_module) STREAM_ACCESS=NO ;;
|
||||
--without-stream_geo_module) STREAM_GEO=NO ;;
|
||||
--without-stream_map_module) STREAM_MAP=NO ;;
|
||||
--without-stream_return_module) STREAM_RETURN=NO ;;
|
||||
--without-stream_upstream_hash_module)
|
||||
@ -502,6 +504,7 @@ cat << END
|
||||
--with-stream_geoip_module=dynamic enable dynamic ngx_stream_geoip_module
|
||||
--without-stream_limit_conn_module disable ngx_stream_limit_conn_module
|
||||
--without-stream_access_module disable ngx_stream_access_module
|
||||
--without-stream_geo_module disable ngx_stream_geo_module
|
||||
--without-stream_map_module disable ngx_stream_map_module
|
||||
--without-stream_return_module disable ngx_stream_return_module
|
||||
--without-stream_upstream_hash_module
|
||||
|
1572
src/stream/ngx_stream_geo_module.c
Normal file
1572
src/stream/ngx_stream_geo_module.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user