Architecture
Definition first, running system second.
The panel never edits a live configuration by hand.
It renders what the system should look like and then makes the system match.
The loop
A change is written to a definition, the target configuration is rendered from it, the running system is compared, and the difference is applied as one step —
with a timestamped copy of whatever was replaced.
change → definition → render → compare → apply + backup → reload
Web
A domain gets a document root, an HTTP-only ACME vhost, then the full vhost: TLS 1.3, HSTS, HTTP/3 and security blocks for dotfiles and backup files.
PHP
Each site can have its own FPM pool with its own user, socket and limits.
Accounts live in one store.
From it the panel writes Postfix maps and the Dovecot password file, then reloads both daemons.
Defence
CDPGuard is a module of the panel: rules compile into nftables sets;
blocks and events stay in the same interface.