Skip to content

Local search · English

    Workers, reverse proxy and health checks

    The core Bun process starts several bounded background loops; audit and privileged domain provisioning use additional services when enabled. A process being alive is only one health signal. Check the specific queue and public behavior for each feature you operate.

    • Keep both native listeners on private loopback unless the reviewed topology requires otherwise. Use a service manager and restricted environment/log permissions.
    1. Route only the configured admin HTTPS hostname to PORT and the hosted namespace to STRUKT_PUBLIC_PORT. Preserve the original Host header and terminate TLS with certificates covering the actual names. Unknown hosts must retain their controlled rejection instead of falling through to admin.

    2. Use an explicit analytics trusted-proxy list for your real forwarding chain. Do not trust every forwarded header. Verify anonymous public HTML, authenticated API boundaries, MIME, redirects and byte-range responses through the proxy, not just on loopback.

    3. The native process starts Forms delivery, account recovery when configured, source retries, Store reconciliation/receipts, publication schedules, retention and metrics loops. Test one controlled job per enabled feature. Do not launch duplicate servers against the same data merely to increase worker count.

    4. Findability requires the optional iii engine and audit worker connected to the same STRUKT_III_URL. An absent engine is supported, but audits are unavailable. Check engine/worker registration, queue outcome and a completed synthetic audit rather than claiming readiness from the configured URL.

    5. Custom domains require admission addresses, DNS proof, the authenticated loopback provision endpoint and the separate domain worker/helper topology. Keep the root helper’s fixed surface and credentials private. Verify DNS and HTTPS stages with controlled domains; never issue real client certificates merely as a health probe.

    • A restart preserves state, enabled queues complete controlled work and proxy responses retain the intended host/security boundaries.

    For stalled work, inspect private service logs and safe request IDs, then distinguish queue lag, provider failure and process failure. Existing bounded backend metrics describe the current process; they are not a complete external monitoring service.

    Applies to Strukt c02552848c92 · 2026-10-31