Skip to content

Commit

Permalink
Merge pull request wdaike#1 from northwesternmutual/dynamic-module-co…
Browse files Browse the repository at this point in the history
…nfig

Updated config to support dynamic modules
  • Loading branch information
ThomPattersonNM authored Nov 2, 2016
2 parents 9cec419 + 7f465ae commit 7abad1a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions config
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
ngx_addon_name=ngx_http_upstream_jdomain_module
HTTP_MODULES="$HTTP_MODULES ngx_http_upstream_jdomain_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upstream_jdomain.c"

if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_upstream_jdomain_module
ngx_module_srcs="$ngx_addon_dir/ngx_http_upstream_jdomain.c"

. auto/module
else
HTTP_MODULES="$HTTP_MODULES ngx_http_upstream_jdomain_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upstream_jdomain.c"
fi

0 comments on commit 7abad1a

Please sign in to comment.