feat: bootstrap webspace deploy and status-beacon landing page

Add public/index.php, private config bootstrap, FTPS deploy script,
and complete todo/01 including Let's Encrypt, HTTPS redirect, and HSTS docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Frank Schwenk
2026-06-11 22:37:06 +02:00
parent 54d29d3afa
commit 659154c93a
9 changed files with 335 additions and 18 deletions
+5 -2
View File
@@ -56,7 +56,10 @@ Der Webspace sieht boka **von außen** — interne Metriken brauchen das Push-Sk
│ ├── index.php # Status-Beacon Landing
│ ├── monitor.php # Cron: Pull-Checks
│ └── ingest.php # Empfang Push von boka
├── config/ # PHP-Konfiguration (lädt .env)
├── config/ # PHP-Konfiguration → deploy nach private/config/
├── scripts/
│ ├── deploy.sh # FTP-Deploy (ruft deploy.py auf)
│ └── deploy.py
└── todo/ # Aufgabenliste
```
@@ -67,6 +70,6 @@ Offene Arbeiten: [`todo/README.md`](todo/README.md)
## Schnellstart (wenn eingerichtet)
1. `.env.example` → `.env` kopieren und ausfüllen
2. Dateien nach `httpdocs/` deployen (FTP/rsync)
2. `./scripts/deploy.sh` — spielt `public/` nach `httpdocs/`, Config und `.env` nach `private/`
3. In Plesk: geplante Aufgabe für `monitor.php` (Cron-Stil, z. B. `*/10 * * * *`)
4. Auf boka: Push-Skript + Crontab (siehe `todo/04-monitoring-push-boka.md`)