1
0
mirror of synced 2024-12-05 00:55:42 +01:00
nginx-ipscrub/ipscrub/config

17 lines
560 B
Plaintext
Raw Normal View History

2018-03-31 02:47:17 +02:00
# Reference: https://www.nginx.com/resources/wiki/extending/new_config/.
ngx_module_type=HTTP
ngx_module_name=ngx_ipscrub_module
ngx_module_deps="$ngx_addon_dir/src/ngx_ipscrub_support.h $ngx_addon_dir/src/ngx_ipscrub_debug.h"
ngx_module_srcs="$ngx_addon_dir/src/ngx_ipscrub_module.c $ngx_addon_dir/src/ngx_ipscrub_support.c $ngx_addon_dir/src/ngx_ipscrub_debug.c"
# On Linux, link with libbsd, to get arc4random.
if [ `uname` = Linux ]; then
ngx_module_libs="SHA1 -lbsd"
else
ngx_module_libs="SHA1"
fi
2018-03-31 02:47:17 +02:00
. auto/module
ngx_addon_name=$ngx_module_name