WP_FAIL2BAN_INSTALL_PATH

Override fail2ban installation path.

Default setting: disabled

Added in version 5.0.0.


The path to the fail2ban installation. The Site Health tool looks in the following locations:

  • /etc/fail2ban

  • /usr/local/etc/fail2ban

If your fail2ban installation is elsewhere, you can specify the path:

Example: Set custom fail2ban path
/**
 * Set custom fail2ban installation path
 */
define('WP_FAIL2BAN_INSTALL_PATH', '/var/fail2ban');