Deploy Script
GET /api/deploy
Returns a shell script that:
- Hardens SSH (key-only auth)
- Configures UFW firewall
- Installs Fail2Ban
- Installs Docker
- Clones and deploys srvly
Usage
curl -sL https://YOUR_DOMAIN/api/deploy | bash
GET /api/deploy
Returns a shell script that:
curl -sL https://YOUR_DOMAIN/api/deploy | bash