diff --git a/README.md b/README.md index 23b2f07..6254677 100644 --- a/README.md +++ b/README.md @@ -7,24 +7,9 @@ This plugin contains rule exclusions to fix false positives when using SOGo Grou - CRS Version 4.0 or newer - ModSecurity compatable Web Application Firewall -## How to install the plugin -1. Copy and paste the files ``sogo-rule-exclusions-before.conf`` and ``sogo-rule-exclusions-config.conf`` into your CRS plugins folder. +## Installation -2. Create two wildcards includes after ``crs-setup.conf`` but before loading CRS rules. Create the ``*-config.conf`` includes first, followed by the ``*-before.conf`` includes as shown in the code block below (This only needs to be done once, after that any plugins placed within the plugins folder will automatically be activated). - -3. Then reload your WAF to apply the new changes (Restart for Nginx ModSec users) - -``` -Include /path/to/coreruleset/modsecurity.conf -Include /path/to/coreruleset/crs-setup.conf - -Include /path/to/coreruleset/plugins/*-config.conf -Include /path/to/coreruleset/plugins/*-before.conf - -Include /path/to/coreruleset/rules/*.conf -``` - -You can also refer to official CRS documentation on how to install a plugin https://coreruleset.org/docs/concepts/plugins/#how-to-install-a-plugin +For full and up to date instructions on installing plugins, please refer to [How to Install a Plugin](https://coreruleset.org/docs/concepts/plugins/#how-to-install-a-plugin) in the official CRS documentation. ## Disabling the plugin The plugin can be disabled by uncommenting rule 9520000 inside ``plugins/sogo-rule-exclusions-config.conf`` or by removing the includes for this plugin.