From 032ea829d9bd465d24ff72cb4d37bfdee71eb44a Mon Sep 17 00:00:00 2001 From: sbyrd Date: Tue, 10 Dec 2024 18:19:53 -0500 Subject: [PATCH] inital --- default_action.conf | 1 + modsecurity-init.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 default_action.conf diff --git a/default_action.conf b/default_action.conf new file mode 100644 index 0000000..1edb90c --- /dev/null +++ b/default_action.conf @@ -0,0 +1 @@ +SecDefaultAction "log,deny,auditlog,phase:2,status:403" diff --git a/modsecurity-init.conf b/modsecurity-init.conf index 8246a4e..d5717a7 100644 --- a/modsecurity-init.conf +++ b/modsecurity-init.conf @@ -1,4 +1,4 @@ -SecDefaultAction "log,deny,auditlog,phase:2,status:403" +modsecurity_rules_file modsecurity.d/default_action.conf; modsecurity on; modsecurity_rules_file modsecurity.d/nginx-waf/conf/tortix_waf.conf; modsecurity_rules_file modsecurity.d/nginx-waf/00_asl_whitelist.conf;