Skip to content

Commit

Permalink
fix: config syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Zipitria <[email protected]>
  • Loading branch information
fzipi committed Nov 9, 2023
1 parent 4e8621e commit 7e5b812
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand All @@ -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

0 comments on commit 7e5b812

Please sign in to comment.