diff --git a/etc/init.shy b/etc/init.shy index 3ed6c91b..69a0040a 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -1,6 +1,3 @@ -~web.code.nginx - server module name demo - ~cli daemon import diff --git a/src/demo/config b/src/demo/config index b63319de..2fde8b4d 100644 --- a/src/demo/config +++ b/src/demo/config @@ -1,4 +1,4 @@ ngx_addon_name=ngx_http_demo_module NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/${ngx_addon_name}.c" -HTTP_MODULES="$HTTP_MODULES $ngx_addon_name" +HTTP_MODULES="$HTTP_MODULES ${ngx_addon_name}" diff --git a/src/demo/ngx_http_demo_module.c b/src/demo/ngx_http_demo_module.c index 1eb58167..e25af2b1 100644 --- a/src/demo/ngx_http_demo_module.c +++ b/src/demo/ngx_http_demo_module.c @@ -1,3 +1,4 @@ + #include #include #include