diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-08-20 11:49:15 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-08-20 16:29:34 +0300 |
commit | 5e711e9ffd8f38928481981be8312f03393d1147 (patch) | |
tree | f94226803bf89381523d7bb6da61acc6ba7524dd /etc/nextcloudpi-config.d/modsecurity.sh | |
parent | 3d8063221d382b2ae83d58aaa729465e0c6faad0 (diff) |
update to Raspbian Stretchv0.24.0
Diffstat (limited to 'etc/nextcloudpi-config.d/modsecurity.sh')
-rw-r--r-- | etc/nextcloudpi-config.d/modsecurity.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/etc/nextcloudpi-config.d/modsecurity.sh b/etc/nextcloudpi-config.d/modsecurity.sh index 08250096..c5d4bb3b 100644 --- a/etc/nextcloudpi-config.d/modsecurity.sh +++ b/etc/nextcloudpi-config.d/modsecurity.sh @@ -24,12 +24,7 @@ install() apt-get install -y --no-install-recommends libapache2-mod-security2 modsecurity-crs a2dismod security2 - # COPY RULES - cd /usr/share/modsecurity-crs/base_rules/ - for ruleFile in * ; do sudo ln -s /usr/share/modsecurity-crs/base_rules/$ruleFile /etc/modsecurity/$ruleFile ; done - cd /usr/share/modsecurity-crs/optional_rules/ - for ruleFile in * ; do sudo ln -s /usr/share/modsecurity-crs/optional_rules/$ruleFile /etc/modsecurity/$ruleFile ; done - rm /etc/modsecurity/modsecurity_crs_16_session_hijacking.conf # https://github.com/SpiderLabs/owasp-modsecurity-crs/commit/e2fbef4ce89fed0c4dd338002b9a090dd2f6491d + #FIXME - after migration to Stretch is done # CONFIGURE cp /etc/modsecurity/modsecurity.conf-recommended /etc/modsecurity/modsecurity.conf |