{
    email you@example.com
}

# ─── chat.example.com — Open WebUI ──────────────────────────────────────────
# Swap `open-webui:8080` for `anubis-owui:8923` once the Anubis sidecar in
# docker-compose.yml is uncommented.
chat.example.com {
    reverse_proxy open-webui:8080
}

# ─── comfyui.example.com — ComfyUI native web UI ────────────────────────────
# Open WebUI submits jobs internally over the bridge — this hostname is only
# for direct access to ComfyUI's own UI (workflow editing, custom-node
# install via ComfyUI-Manager, etc.). Basic auth keeps it private; remove
# the block if you don't need to expose it externally at all.
comfyui.example.com {
    basic_auth {
        # Generate with:
        #   docker run --rm caddy:latest caddy hash-password --plaintext 'your-password'
        comfyui REPLACE_WITH_BCRYPT_HASH
    }

    reverse_proxy comfyui:8188
}
