🚀 Initial release: Complete Ansible LEMP WordPress automation
✨ Features: - Complete LEMP stack automation - WordPress with WP-CLI - Redis Object Cache (50% performance boost) - Multi-OS support - SSL/Let's Encrypt integration - Security hardening - Enterprise features - Docker testing environment - GitHub Actions CI/CD - Comprehensive documentation 🧪 Fully tested and production-ready Copyright (c) 2025 Sebastian Palencsár
This commit is contained in:
14
templates/fail2ban-filters/wordpress-auth.conf
Normal file
14
templates/fail2ban-filters/wordpress-auth.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
# WordPress login bruteforce filter
|
||||
# Generated by Ansible
|
||||
|
||||
[Definition]
|
||||
|
||||
# Detect WordPress login failures
|
||||
failregex = ^<HOST> .* "POST /wp-login\.php
|
||||
^<HOST> .* "POST /wp-admin/
|
||||
^<HOST> .* "GET /wp-login\.php.*action=lostpassword
|
||||
|
||||
ignoreregex =
|
||||
|
||||
[Init]
|
||||
maxlines = 1
|
||||
13
templates/fail2ban-filters/wordpress-xmlrpc.conf
Normal file
13
templates/fail2ban-filters/wordpress-xmlrpc.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
# WordPress XMLRPC attack filter
|
||||
# Generated by Ansible
|
||||
|
||||
[Definition]
|
||||
|
||||
# Detect XMLRPC attacks
|
||||
failregex = ^<HOST> .* "POST /xmlrpc\.php
|
||||
^<HOST> .* "GET /xmlrpc\.php
|
||||
|
||||
ignoreregex =
|
||||
|
||||
[Init]
|
||||
maxlines = 1
|
||||
15
templates/fail2ban-filters/wordpress.conf
Normal file
15
templates/fail2ban-filters/wordpress.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
# WordPress generic attack filter
|
||||
# Generated by Ansible
|
||||
|
||||
[Definition]
|
||||
|
||||
# Detect various WordPress attacks
|
||||
failregex = ^<HOST> .* "(GET|POST) .*/wp-.*\.php.*" (4\d\d|5\d\d)
|
||||
^<HOST> .* "(GET|POST) .*" 40[134]
|
||||
^<HOST> .* "GET .*(/\..*|.*\.sql|.*\.zip|.*backup.*)"
|
||||
^<HOST> .* "(GET|POST) .*/wp-content/.*\.php"
|
||||
|
||||
ignoreregex =
|
||||
|
||||
[Init]
|
||||
maxlines = 1
|
||||
Reference in New Issue
Block a user