- Plesk 12.5 for Linux
Note: This article has the reference to the issue with the fix available:
- #PPPM-4408 "Support issue #PPPM-4408"
- Plesk Onyx 17.0 Release 15 November 2016
Fail2Ban incorrectly reads ModSecurity's logs: it detects local IP instead of the client IP and blocks it
All websites are down:
Error 502 Bad Gateway
Nginx is enabled on a server
Server IP is blocked by Fail2ban.
This is Plesk bug with ID #PPPM-4408 which was fixed in Plesk Onyx.
Upgrade to the latest Plesk version .
As a workaround, connect to the server via SSH and set the following parameter in
CONFIG_TEXT: failregex = ^X-Real-IP:\\s<HOST>.*$