Commit bbe172b
committed
Initial commit — production-ready serverdeploy
All-native AlmaLinux 9 hosting stack:
- Caddy + Coraza WAF + OWASP CRS + secure_headers + ratelimit
- MariaDB 12 + PostgreSQL 16 (per-tenant DB users, locked-down GRANTs)
- Node.js 22 + PHP-FPM 8.3 (per-site UID, sandboxed pools)
- Stalwart Mail Server with per-domain DKIM
- CrowdSec + nftables firewall bouncer + GeoIP-aware ban scenario
- MaxMind GeoIP block (offline mmdb or geoipupdate API) with multi-CDN
trusted_proxies (Cloudflare/Fastly/Akamai/CloudFront/Bunny/Sucuri/StackPath)
- phpMyAdmin + pgAdmin4 (optional, dedicated UIDs, behind allowlist+basic-auth)
- restic backups to Backblaze B2, encrypted
- Per-minute health check with 15-min cooldown alerts
- Single-command tools: newsite, delsite, restoresite, listsite, siteuser,
adminip, geoblock, waf-whitelist0 parents commit bbe172b
29 files changed
Lines changed: 7014 additions & 0 deletions
File tree
- bootstrap
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments