File tree 1 file changed +22
-3
lines changed
modules/ngx_http_upstream_session_sticky_module
1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 1
- ngx_ddon_name=ngx_http_upstream_session_sticky_module
2
- HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_upstream_session_sticky_module"
3
- NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upstream_session_sticky_module.c"
1
+ ngx_addon_name=ngx_http_upstream_session_sticky_module
2
+
3
+ # Build for recent nginx versions
4
+ if test -n "$ngx_module_link"; then
5
+
6
+ ngx_module_type=HTTP_AUX_FILTER
7
+ ngx_module_name=ngx_http_upstream_session_sticky_module
8
+ ngx_module_incs=
9
+ ngx_module_deps=
10
+ ngx_module_srcs="$ngx_addon_dir/ngx_http_upstream_session_sticky_module.c"
11
+ ngx_module_libs=
12
+
13
+ . auto/module
14
+
15
+ # Build for older nginx versions
16
+ else
17
+
18
+ HTTP_MODULES="$HTTP_MODULES ngx_http_upstream_session_sticky_module"
19
+ HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_upstream_session_sticky_module"
20
+ NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upstream_session_sticky_module.c"
21
+
22
+ fi
You can’t perform that action at this time.
0 commit comments