mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-01 20:55:16 +09:00
A site set up by hand or by a migration serves traffic but has no application, domain or WordPress row, so the panel cannot see it. Every existing entry point creates something (a vhost, a copy of the files), which is wrong for a site that is live. Discovery reads the live nginx config, the PHP-FPM pools, the certificate and wp-config.php. Adopting writes rows only, as a dry run unless asked otherwise. The app is managed_by 'host', and the vhost writer, drift repair, lifecycle and delete paths leave its running config alone. The doctor reports sites nginx serves that no application accounts for. Part of #269.