diff --git a/config b/config index 428a1f14..0968c604 100644 --- a/config +++ b/config @@ -1,22 +1,22 @@ ngx_addon_name=ngx_http_waf_module -deps="$ngx_addon_dir/inc/ngx_http_waf_module_check.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_action.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_config.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_data.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_var.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_core.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_macro.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_type.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_util.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_ip_trie.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_mem_pool.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_shm.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_lru_cache.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_under_attack.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_captcha.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_verify_bot.h \ - $ngx_addon_dir/inc/ngx_http_waf_module_modsecurity.h" +deps="$ngx_addon_dir/include/ngx_http_waf_module_check.h \ + $ngx_addon_dir/include/ngx_http_waf_module_action.h \ + $ngx_addon_dir/include/ngx_http_waf_module_config.h \ + $ngx_addon_dir/include/ngx_http_waf_module_data.h \ + $ngx_addon_dir/include/ngx_http_waf_module_var.h \ + $ngx_addon_dir/include/ngx_http_waf_module_core.h \ + $ngx_addon_dir/include/ngx_http_waf_module_macro.h \ + $ngx_addon_dir/include/ngx_http_waf_module_type.h \ + $ngx_addon_dir/include/ngx_http_waf_module_util.h \ + $ngx_addon_dir/include/ngx_http_waf_module_ip_trie.h \ + $ngx_addon_dir/include/ngx_http_waf_module_mem_pool.h \ + $ngx_addon_dir/include/ngx_http_waf_module_shm.h \ + $ngx_addon_dir/include/ngx_http_waf_module_lru_cache.h \ + $ngx_addon_dir/include/ngx_http_waf_module_under_attack.h \ + $ngx_addon_dir/include/ngx_http_waf_module_captcha.h \ + $ngx_addon_dir/include/ngx_http_waf_module_verify_bot.h \ + $ngx_addon_dir/include/ngx_http_waf_module_modsecurity.h" srcs="$ngx_addon_dir/src/ngx_http_waf_module_core.c \ $ngx_addon_dir/src/ngx_http_waf_module_var.c \ @@ -37,7 +37,7 @@ srcs="$ngx_addon_dir/src/ngx_http_waf_module_core.c \ ngx_http_waf_module_libs="" -ngx_http_waf_module_inc_path="$ngx_addon_dir/inc $ngx_addon_dir/lib" +ngx_http_waf_module_inc_path="$ngx_addon_dir/include " # Check if the modsecurity library is installed. diff --git a/inc/ngx_http_waf_module_action.h b/include/ngx_http_waf_module_action.h similarity index 100% rename from inc/ngx_http_waf_module_action.h rename to include/ngx_http_waf_module_action.h diff --git a/inc/ngx_http_waf_module_captcha.h b/include/ngx_http_waf_module_captcha.h similarity index 100% rename from inc/ngx_http_waf_module_captcha.h rename to include/ngx_http_waf_module_captcha.h diff --git a/inc/ngx_http_waf_module_check.h b/include/ngx_http_waf_module_check.h similarity index 100% rename from inc/ngx_http_waf_module_check.h rename to include/ngx_http_waf_module_check.h diff --git a/inc/ngx_http_waf_module_config.h b/include/ngx_http_waf_module_config.h similarity index 100% rename from inc/ngx_http_waf_module_config.h rename to include/ngx_http_waf_module_config.h diff --git a/inc/ngx_http_waf_module_core.h b/include/ngx_http_waf_module_core.h similarity index 100% rename from inc/ngx_http_waf_module_core.h rename to include/ngx_http_waf_module_core.h diff --git a/inc/ngx_http_waf_module_data.h b/include/ngx_http_waf_module_data.h similarity index 100% rename from inc/ngx_http_waf_module_data.h rename to include/ngx_http_waf_module_data.h diff --git a/inc/ngx_http_waf_module_ip_trie.h b/include/ngx_http_waf_module_ip_trie.h similarity index 100% rename from inc/ngx_http_waf_module_ip_trie.h rename to include/ngx_http_waf_module_ip_trie.h diff --git a/inc/ngx_http_waf_module_lru_cache.h b/include/ngx_http_waf_module_lru_cache.h similarity index 100% rename from inc/ngx_http_waf_module_lru_cache.h rename to include/ngx_http_waf_module_lru_cache.h diff --git a/inc/ngx_http_waf_module_macro.h b/include/ngx_http_waf_module_macro.h similarity index 100% rename from inc/ngx_http_waf_module_macro.h rename to include/ngx_http_waf_module_macro.h diff --git a/inc/ngx_http_waf_module_mem_pool.h b/include/ngx_http_waf_module_mem_pool.h similarity index 100% rename from inc/ngx_http_waf_module_mem_pool.h rename to include/ngx_http_waf_module_mem_pool.h diff --git a/inc/ngx_http_waf_module_modsecurity.h b/include/ngx_http_waf_module_modsecurity.h similarity index 100% rename from inc/ngx_http_waf_module_modsecurity.h rename to include/ngx_http_waf_module_modsecurity.h diff --git a/inc/ngx_http_waf_module_shm.h b/include/ngx_http_waf_module_shm.h similarity index 100% rename from inc/ngx_http_waf_module_shm.h rename to include/ngx_http_waf_module_shm.h diff --git a/inc/ngx_http_waf_module_type.h b/include/ngx_http_waf_module_type.h similarity index 100% rename from inc/ngx_http_waf_module_type.h rename to include/ngx_http_waf_module_type.h diff --git a/inc/ngx_http_waf_module_under_attack.h b/include/ngx_http_waf_module_under_attack.h similarity index 100% rename from inc/ngx_http_waf_module_under_attack.h rename to include/ngx_http_waf_module_under_attack.h diff --git a/inc/ngx_http_waf_module_util.h b/include/ngx_http_waf_module_util.h similarity index 100% rename from inc/ngx_http_waf_module_util.h rename to include/ngx_http_waf_module_util.h diff --git a/inc/ngx_http_waf_module_var.h b/include/ngx_http_waf_module_var.h similarity index 100% rename from inc/ngx_http_waf_module_var.h rename to include/ngx_http_waf_module_var.h diff --git a/inc/ngx_http_waf_module_verify_bot.h b/include/ngx_http_waf_module_verify_bot.h similarity index 100% rename from inc/ngx_http_waf_module_verify_bot.h rename to include/ngx_http_waf_module_verify_bot.h