caddyscript
Debian 13 • Caddy • PHP 8.3 • ClassicPress (or static) in one command.
No Ubuntu. No Nginx. No drama.
$ curl -sSL https://get.caddyscript.io | bash -s -- --install
Debian 13 Native
Automatic HTTP/3
Fail2Ban Included
14KB Shell Script
Features
- The Core Stack: Caddy (web server), PHP 8.3 (FPM), MariaDB (database).
- Instant HTTPS: Automatic SSL certs via Caddy (no Certbot needed).
- Managed Sites: Create ClassicPress, Static, or generic PHP sites with one line.
- Backup: Built-in tar.gz backup feature (files + database).
- Security: UFW firewall configured, Unattended Upgrades enabled, Fail2Ban installed.
Latest Usage
$ caddyscript --domain example.com --type classicpress
$ caddyscript --domain static.com --type static
$ caddyscript --domain staging.blog.com --type staging
$ caddyscript --uninstall # nuclear cleanup
Production-Ready Caddyfile (Included)
Security headers, immutable asset caching, Zstd + gzip, HSTS preload, per-site logging — all automatic.
Assumptions & Caveats
- Fresh Debian 13 minimal install only
- You use SSH keys (script forces key-only login)
- No GUI — this is for grown-ups
- Works for WordPress too (just change the download URL)
Hat Tip To The Giants
Massive respect to Webinoly, WordOps, SlickStack, EasyEngine, and CentminMod.
caddyscript is simply the 2025 evolution: Debian-native, Caddy-native, zero bloat.
Resources