Skip to content

wp-fail2ban/conf.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wp-fail2ban/conf.d

A collection of standard configurations for WP fail2ban.

Usage

First, update the configuration files to the latest version:

[invisnet@test wordpress]$ cd wp-content/plugins/wp-fail2ban/conf.d
[invisnet@test conf.d]$ git pull
Already up to date.
[invisnet@test conf.d]$

Next, copy the configuration file to your wp-content directory. Be sure to name it wp-fail2ban-config.php.

[invisnet@test conf.d]$ cp default-all.php ../wp-fail2ban-config.php
[invisnet@test conf.d]$

Then, edit your wp-config.php file and add the following line:

include __DIR__.'/wp-content/wp-fail2ban-config.php';

Be sure to add it before the line that says:

/* That's all, stop editing! Happy blogging. */

Finally, if there are any changes you want to make, edit wp-fail2ban-config.php.


default-all.php:

  • Default logs
  • All features enabled

About

Standard configurations for WP fail2ban

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages