Skip to content

Commit

Permalink
coreruleset update to 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FuriousWarrior committed Mar 29, 2024
1 parent c654ffa commit 082ac2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions conf/main.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Include the recommended configuration
Include /etc/nginx/modsec/modsecurity.conf
# OWASP CRS v3 rules
Include /etc/nginx/modsec/coreruleset-3.3.5/crs-setup.conf
Include /etc/nginx/modsec/coreruleset-3.3.5/rules/*.conf
Include /etc/nginx/modsec/coreruleset-4.1.0/crs-setup.conf
Include /etc/nginx/modsec/coreruleset-4.1.0/rules/*.conf
6 changes: 3 additions & 3 deletions nginx-autoinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ case $OPTION in
sed -i 's/SecRuleEngine DetectionOnly/SecRuleEngine On/' /etc/nginx/modsec/modsecurity.conf
fi
# OWASP Rules
wget -P /etc/nginx/modsec/ https://raw.githubusercontent.com/FuriousWarrior/NginxFastStart/master/CRS3/coreruleset-3.3.5.tar.gz
wget -P /etc/nginx/modsec/ https://github.com/coreruleset/coreruleset/archive/refs/tags/v4.1.0.tar.gz
cd /etc/nginx/modsec/ || exit 1
tar -xf coreruleset-3.3.5.tar.gz
cd coreruleset-3.3.5 || exit 1
tar -xf coreruleset-4.1.0.tar.gz
cd coreruleset-4.1.0 || exit 1
cp crs-setup.conf.example crs-setup.conf
fi

Expand Down

0 comments on commit 082ac2c

Please sign in to comment.