pull/42/head
Aidaho12 2018-08-20 21:20:14 +06:00
parent 14cb96459d
commit 21495d2567
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ spoe-message check-request
args unique-id method path query req.ver req.hdrs_bin req.body_size req.body
event on-frontend-http-request
EOF
if sudo grep -q "backend spoe-modsecurity" $HAPROXY_PATH/haproxy.cfg; then
if sudo grep -q "backend waf" $HAPROXY_PATH/haproxy.cfg; then
echo -e "Backend for WAF exists"
else
sudo bash -c cat << EOF >> $HAPROXY_PATH/haproxy.cfg