1
0
mirror of synced 2024-12-04 16:45:42 +01:00
nginx-ipscrub/ipscrub/config
2018-05-27 19:19:25 -07:00

17 lines
560 B
Plaintext

# 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
. auto/module
ngx_addon_name=$ngx_module_name