-
Notifications
You must be signed in to change notification settings - Fork 1
/
config
22 lines (19 loc) · 906 Bytes
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# References:
# https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus/
# https://www.nginx.com/resources/wiki/extending/new_config/
# https://www.nginx.com/resources/wiki/extending/converting/
ngx_addon_name=ngx_http_sticky_module
# NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_sticky_module.c $ngx_addon_dir/ngx_http_sticky_misc.c"
# NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/ngx_http_sticky_misc.h"
ngx_module_deps="$ngx_addon_dir/ngx_http_sticky_misc.h"
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_sticky_module
ngx_module_srcs="$ngx_addon_dir/ngx_http_sticky_module.c $ngx_addon_dir/ngx_http_sticky_misc.c"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES ngx_http_sticky_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_sticky_module.c $ngx_addon_dir/ngx_http_sticky_misc.c"
fi
USE_MD5=YES
USE_SHA1=YES