Skip to content

Commit

Permalink
fix: clarify term virualhost
Browse files Browse the repository at this point in the history
  • Loading branch information
EsadCetiner authored Jun 9, 2024
1 parent ef57f0c commit 9bc0449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/concepts/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Alternatively, it is also valid to disable a plugin by renaming a plugin file fr

## Conditionally enable plugins for multi-application environments

If CRS is installed on a reverse-proxy or a web server with multiple web applications, then you may wish to only enable certain plugins (such as rule exclusion plugins) for certain `VirtualHosts`. This ensures that rules designed for a specific web application are only enabled for the intended web application, reducing the scope of any possible bypasses within a plugin.
If CRS is installed on a reverse-proxy or a web server with multiple web applications, then you may wish to only enable certain plugins (such as rule exclusion plugins) for certain VirtualHosts (`VirtualHost` for Apache httpd, `Server` context for Nginx). This ensures that rules designed for a specific web application are only enabled for the intended web application, reducing the scope of any possible bypasses within a plugin.

Most plugins provide an example to disable the plugin in the file `plugin-config.conf`, you can define the `WebAppID` variable for each virtual host and then disable the plugin when the `WebAppID` variable doesn't match.

Expand Down

0 comments on commit 9bc0449

Please sign in to comment.