ModSecurity
Learn how to use the ModSecurity module.
Deploy
Submit a support request to have the ModSecurity module deployed.
Manage
Manage the ModSecurity module through the advanced config.
tip
Check out the related ModSecurity documentation to get started with customizing your ModSecurity module.
note
Submit a support request if you need help managing this module.
Delete
Follow the steps below to delete the ModSecurity module from your environment:
Go to the advanced config of the environment you want to delete the ModSecurity module from.
In the top of the page, copy the URL next to Clone with HTTPS.
Open a terminal and change the current working directory to the location where you want the cloned environment repository.
Clone the environment repository to your local computer. Type
git clone
followed by the copied URL and then press Enter:git clone <copied_url>
In the root directory of the environment repository, delete the ModSecurity module directory (typically named
modsecurity
).note
Skip this step to disable the module instead of deleting it.
In the environment's
section.config.json
file, delete the module object from theproxychain
array, which will look like the following:section.config.json...
"proxychain": [
...
{
"name": "<module_directory_name>",
"image": "<module_image>"
},
...
],
...section.config.json...
"proxychain": [
...
{
"name": "modsecurity",
"image": "modsecurity:3.0.4"
},
...
],
...Stage, commit, and push the changes to the environment's remote repository:
git add .
git commit -m "Delete the ModSecurity module"
git push