+3
−2
+50
−0
+12
−1
+5
−0
+229
−116
Loading
Modelled on actdeploy and on the proxyplus/mammut/mediadb config helper: - setup wizard (src/setup.*): without a config file on https://<host>:8443/ (443 in the image) with a setup code; asks for the listener (HTTPS with its self-signed certificate or HTTP behind a proxy), the first domain with a database test, authdb and mediadb; creates blogi's authdb client and the policy "Blogi: Server Administration", writes config.yaml. - server administration at /_server/ on every host name (like /_deploy): HTTP, limits, domains and the BLOGI/DEPLOY/AUTHDB access sources. Saving replaces only those blocks (src/serverconfig.*) and keeps SMTP, LETSENCRYPT, plugin keys, comments and CRLF; what is loaded as root (SSL, PLUGINDIR, CHROOTDIR) stays file-only, templates must be theme directories. Login needs the new policy. - config helper (src/helper.*): blogi runs in a child of a root process that writes config.yaml, restarts blogi, rolls back a change blogi cannot start with and falls back to a maintenance mode (/_server/ only), retrying a normal start every 300 s. Requests carry their own reply socket, since the per-domain workers share the channel. - daemon mode: workers report when their domain is loaded, so a domain that fails counts as a failed start; SIGTERM/SIGHUP stop the workers too; crashed workers are restarted with a 1 s pause. - wizard and /_server/ are English and German via blogi::tr(). - docker run.sh starts the wizard when neither config nor CLIENTURL is there. Co-Authored-By:Claude Opus 5.5 <noreply@anthropic.com>