From 7e5b81249592db74fe1e14edb51346cc185d53d8 Mon Sep 17 00:00:00 2001 From: Felipe Zipitria Date: Thu, 9 Nov 2023 15:06:21 +0100 Subject: [PATCH] fix: config syntax Signed-off-by: Felipe Zipitria --- config | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/config b/config index a2c380c..3285298 100644 --- a/config +++ b/config @@ -19,7 +19,7 @@ coraza_dependency="ngx_http_postpone_filter_module \ ngx_http_gunzip_filter_module \ ngx_http_userid_filter_module \ ngx_http_headers_filter_module \ - ngx_http_copy_filter_module" + ngx_http_copy_filter_module"; if test -n "$ngx_module_link"; then @@ -31,11 +31,11 @@ if test -n "$ngx_module_link"; then $ngx_addon_dir/src/ngx_http_coraza_body_filter.c \ $ngx_addon_dir/src/ngx_http_coraza_log.c \ $ngx_addon_dir/src/ngx_http_coraza_rewrite.c \ - $ngx_addon_dir/src/ngx_http_coraza_utils.c \ - " - ngx_module_deps="$ngx_addon_dir/src/ddebug.h \ - ngx_module_libs="-lcoraza" - ngx_module_incs="-L/usr/local/lib" + $ngx_addon_dir/src/ngx_http_coraza_utils.c"; + + ngx_module_deps="$ngx_addon_dir/src/ddebug.h"; + ngx_module_libs="-lcoraza" + ngx_module_incs="-L/usr/local/lib" ngx_module_order="ngx_http_chunked_filter_module \ ngx_http_v2_filter_module \ @@ -60,11 +60,9 @@ else $ngx_addon_dir/src/ngx_http_coraza_body_filter.c \ $ngx_addon_dir/src/ngx_http_coraza_log.c \ $ngx_addon_dir/src/ngx_http_coraza_rewrite.c \ - $ngx_addon_dir/src/ngx_http_coraza_utils.c \ - " + $ngx_addon_dir/src/ngx_http_coraza_utils.c"; NGX_ADDON_DEPS="$NGX_ADDON_DEPS \ $ngx_addon_dir/src/ddebug.h \ - $ngx_addon_dir/src/ngx_http_coraza_common.h \ - " + $ngx_addon_dir/src/ngx_http_coraza_common.h"; fi