initial module
This commit is contained in:
21
config
Normal file
21
config
Normal file
@@ -0,0 +1,21 @@
|
||||
ngx_addon_name=ngx_http_monitoring_module
|
||||
|
||||
NGX_HTTP_MONITORING_SRCS="$ngx_addon_dir/src/ngx_http_monitoring_module.c \
|
||||
$ngx_addon_dir/src/ngx_http_monitoring_shm.c \
|
||||
$ngx_addon_dir/src/ngx_http_monitoring_collectors.c \
|
||||
$ngx_addon_dir/src/ngx_http_monitoring_json.c \
|
||||
$ngx_addon_dir/src/ngx_http_monitoring_dashboard.c \
|
||||
$ngx_addon_dir/src/ngx_http_monitoring_sse.c"
|
||||
|
||||
if test -n "$ngx_module_link"; then
|
||||
ngx_module_type=HTTP
|
||||
ngx_module_name=ngx_http_monitoring_module
|
||||
ngx_module_incs="$ngx_addon_dir/src"
|
||||
ngx_module_srcs="$NGX_HTTP_MONITORING_SRCS"
|
||||
ngx_module_libs=
|
||||
. auto/module
|
||||
else
|
||||
HTTP_MODULES="$HTTP_MODULES ngx_http_monitoring_module"
|
||||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $NGX_HTTP_MONITORING_SRCS"
|
||||
CORE_INCS="$CORE_INCS $ngx_addon_dir/src"
|
||||
fi
|
||||
Reference in New Issue
Block a user