-
Notifications
You must be signed in to change notification settings - Fork 139
/
config
19 lines (16 loc) · 777 Bytes
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ngx_addon_name=ngx_http_testcookie_access_module
# b/c it's a DDoS prevention module - we set module_type=HTTP_AUX_FILTER to run it ASAP
# if you need some more logic, place the module near the other access phase modules
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP_AUX_FILTER
ngx_module_name=ngx_http_testcookie_access_module
ngx_module_srcs="$ngx_addon_dir/src/ngx_http_testcookie_access_module.c"
#ngx_module_order="$ngx_module_name ngx_http_access_module"
. auto/module
else
HTTP_AUX_FILTER_MODULES="ngx_http_testcookie_access_module $HTTP_AUX_FILTER_MODULES"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/src/ngx_http_testcookie_access_module.c"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS"
#CFLAGS="$CFLAGS"
USE_OPENSSL=YES
fi