Update readme & quick cleanup

This commit is contained in:
2020-03-02 09:00:33 -05:00
parent a41acf4983
commit 52ca6cea21
6 changed files with 50 additions and 29 deletions

10
config
View File

@@ -1,11 +1,11 @@
ngx_addon_name=ngx_http_hello_world_module
ngx_addon_name=ngx_http_js_challenge_module
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_hello_world_module
ngx_module_srcs="$ngx_addon_dir/library.c"
ngx_module_name=ngx_http_js_challenge_module
ngx_module_srcs="$ngx_addon_dir/ngx_http_js_challenge.c"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES ngx_http_hello_world_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/library.c"
HTTP_MODULES="$HTTP_MODULES ngx_http_js_challenge_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_js_challenge.c"
fi