Guides
Private platform ingress: source-ready Step A
The optional operator instance uses the same approved runtime image as other deployments. Its exact host is admin.feelcouch.tech. Caddy authenticates a provisioned operator username and bcrypt password hash before forwarding any request. It removes incoming identity and gate assertions, then supplies the authenticated username and private gate. The application requires this identity, the exact host and valid isolated operator configuration. Public hosted demo mode unconditionally denies platform administration, including demo administrators.
This is a browser password challenge, not an application operator login or Telegram operator authentication. Course roles never grant operator access. Legacy authenticated dev.feelcouch.tech remains a development boundary.
The operator project must opt into OPERATOR_MODE=true with a validated OPERATOR_USER, pinned immutable runtime and migrator artifacts, and the exact admin domain. Notifications and email authentication are disabled. It needs an empty dedicated application database and least-privilege role, plus a separate dedicated role accessing the existing platform control-plane database. Do not copy participant data from the friend or demo databases. The source does not create operator records, populated tenant metadata, credentials or databases.
The renderer consumes the existing per-project secret paths admin_basic_auth_hash and platform_admin_gate_secret. App secrets additionally require database_url, platform_database_url and a fresh strong session_secret. Credential material must be provisioned through an approved privileged operator pathway: accept the owner-supplied password via secure interactive input or a root-private input file, hash it with Caddy, and write directly to private secret storage without printing it. Never place passwords in command arguments, chat, shell history or logs. Give the owner access through a private credential channel. No credentials have been generated by this change.
Generated Caddy configuration contains sensitive assertions and is root-owned mode 0600. Its snapshots must retain these permissions. The dry run reports only validation status; private Caddy validation diagnostics are discarded rather than logged. Do not print configuration, adaptation output or diffs containing live values. Caddy must run with permission to read the private generated configuration, and the application must have no public published port bypassing the proxy.
The private host forwards only administration paths and static assets; other paths return 404. / rewrites to /admin after authentication. The owner added DNS records and the parent confirmed them through the authoritative resolver path. Local negative caches may still need propagation; the origin vhost and TLS await Caddy installation. This source change does not claim a deployed console.
Deployment is blocked until a sanctioned typed registry/configuration and credential-provisioning command is reviewed, the dedicated roles/databases are provisioned, origin TLS is configured, and the rendered proxy is validated with real authenticated and unauthenticated requests. Direct manual secret/config editing is not an approved substitute. Existing metadata is not asserted to contain real operator tenants. Platform billing/provisioning behavior remains limited to the existing implemented endpoints; this ingress does not implement new commercial workflows. A separate operator identity/session and Telegram allowlist would be a later step.