Skip to content

Commit

Permalink
Fix modsecurity configuration file location (#3408)
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored Nov 12, 2018
1 parent 01a343c commit debf024
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions images/nginx/rootfs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,9 @@ sh build.sh
make
make install

mkdir /etc/modsecurity
cp modsecurity.conf-recommended /etc/modsecurity/modsecurity.conf
cp unicode.mapping /etc/modsecurity/unicode.mapping
mkdir -p /etc/nginx/modsecurity
cp modsecurity.conf-recommended /etc/nginx/modsecurity/modsecurity.conf
cp unicode.mapping /etc/nginx/modsecurity/unicode.mapping

# Download owasp modsecurity crs
cd /etc/nginx/
Expand Down

0 comments on commit debf024

Please sign in to comment.