Commit 3bd07361 authored by ale's avatar ale

Disable mod_security on /server-status

parent 62b26d70
Pipeline #2355 passed with stages
in 6 minutes and 10 seconds
......@@ -34,6 +34,7 @@ export APACHE_MODULES_ENABLE
# Additional config snippets to enable for Apache.
APACHE_CONFIG_ENABLE="
php7.0-fpm
modsecurity-custom
"
export APACHE_CONFIG_ENABLE
......
<IfModule mod_status.c>
<IfModule security2_module>
# Disable mod_security on /server-status handler.
<Location /server-status>
SecRuleEngine Off
</Location>
</IfModule>
</IfModule>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment