A super fast, secure, and scalable web server setup for WordPress with built-in WAF, DDoS protection, and automatic HTTPS.
β οΈ Early Development Notice: This project is in early development and has undergone limited testing. While designed with security and performance in mind, it should be thoroughly tested in your specific environment before production deployment. Use at your own discretion and consider additional security measures for production workloads.
git clone <repository>
cd openpress
docker-compose.yml and replace:
yourdomain.com with your actual domainadmin@yourdomain.com with your emaildocker-compose up -d
Set these in your docker-compose.yml:
DOMAIN: Your domain nameEMAIL: Email for Letβs Encrypt notificationsopenpress/
βββ Dockerfile # Main container configuration
βββ docker-compose.yml # Service orchestration
βββ nginx/ # Nginx configuration
β βββ nginx.conf # Main nginx config
β βββ sites-available/ # Site configurations
β βββ sites-enabled/ # Enabled sites
βββ modsecurity/ # WAF configuration
β βββ modsecurity.conf # Main ModSecurity config
β βββ crs-setup.conf # OWASP CRS setup
βββ fail2ban/ # DDoS protection
β βββ jail.local # Fail2Ban jails
β βββ filter.d/ # Custom filters
βββ scripts/ # Automation scripts
β βββ start.sh # Container startup script
β βββ renew-ssl.sh # SSL renewal script
β βββ cron-ssl-renewal # Cron configuration
βββ wordpress/ # WordPress files (mounted)
βββ logs/ # Log files (mounted)
βββ ssl/ # SSL certificates (mounted)
http://yourdomain.com/health./logs/nginx/# View container logs
docker-compose logs
# View specific service logs
docker-compose logs webserver
# Access container shell
docker-compose exec webserver sh
This project is licensed under the MIT License - see the LICENSE file for details.
Created by: Chris Bunting
For issues and questions: