We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3df8e6b commit a92aa7aCopy full SHA for a92aa7a
config
@@ -1,3 +1,12 @@
1
ngx_addon_name=ngx_http_upstream_fair_module
2
-HTTP_MODULES="$HTTP_MODULES ngx_http_upstream_fair_module"
3
-NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upstream_fair_module.c"
+
+if test -n "$ngx_module_link"; then
4
+ ngx_module_type=HTTP
5
+ ngx_module_name=ngx_http_upstream_fair_module
6
+ ngx_module_srcs="$ngx_addon_dir/ngx_http_upstream_fair_module.c"
7
8
+ . auto/module
9
+else
10
+ HTTP_MODULES="$HTTP_MODULES ngx_http_upstream_fair_module"
11
+ NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upstream_fair_module.c"
12
+fi
0 commit comments