Add TEST_TYPE environment variable for Linux testing in modsecurity

This commit is contained in:
Théophile Diot 2024-02-16 10:40:22 +01:00
parent 0b7d57f919
commit fe3fe9ec26
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -34,6 +34,7 @@ else
echo "MODSECURITY_SEC_AUDIT_ENGINE=RelevantOnly" | sudo tee -a /etc/bunkerweb/variables.env
echo "MODSECURITY_SEC_RULE_ENGINE=On" | sudo tee -a /etc/bunkerweb/variables.env
echo "MODSECURITY_SEC_AUDIT_LOG_PARTS=ABCFHZ" | sudo tee -a /etc/bunkerweb/variables.env
export TEST_TYPE="linux"
sudo touch /var/www/html/index.html
sudo cp ready.conf /etc/bunkerweb/configs/server-http
fi