mirror of
https://git.meshkee.com/Meshkee/dashboards.git
synced 2026-08-11 22:30:58 +04:30
Ensure per-row SSL for apex, business.*, and customer.* hosts.
Lock icon probes live TLS and issues only missing certs; toast z-index sits above modals; ssl-sync agent supports blocking wait. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
aeaad0f645
commit
0212148a73
@@ -58,6 +58,10 @@ SSL_SYNC_AGENT_TOKEN=<same secret>
|
||||
|
||||
Endpoint used by the UI: `POST /api/v1/domains/ssl-sync` (super-admin JWT).
|
||||
|
||||
Body on the agent (optional): `{ "wait": true }` — run `ssl-sync.sh` and wait for exit (used by per-row Ensure SSL). Default is fire-and-forget `202`.
|
||||
|
||||
Per-row Ensure SSL: `POST /api/v1/domains/:id/issue-ssl` probes `host`, `business.host`, `customer.host` and issues only failures.
|
||||
|
||||
## Redeploy frontends
|
||||
|
||||
From your laptop (rsync source tree, then build on server):
|
||||
|
||||
@@ -514,7 +514,7 @@ Migration: `database/migrations/033_business_favicon.sql`
|
||||
| API | `https://api.meshkee.com/api/v1` (host `185.164.72.119`) |
|
||||
| Docs | `docs/DEPLOY.md` |
|
||||
|
||||
SSL: Certbot cert `meshkee-dashboards` + cron `ssl-sync.sh` every 2h + Super Admin **Sync dashboard SSL** (`POST /domains/ssl-sync` → dashboards agent). Storefront SSL: **Issue website SSL** (`POST /domains/website-ssl`) + per-row issue (`POST /domains/:id/issue-ssl`) → websites agent `/ssl` (certbot).
|
||||
SSL: Certbot cert `meshkee-dashboards` + cron `ssl-sync.sh` every 2h + Super Admin **Sync dashboard SSL** (`POST /domains/ssl-sync` → dashboards agent). Storefront SSL: **Issue website SSL** (`POST /domains/website-ssl`) → websites agent `/ssl`. Per-row lock: **Ensure SSL** (`POST /domains/:id/issue-ssl`) probes apex + `business.*` + `customer.*`, issues only what’s missing (websites agent for apex when `deploy_slug` set; blocking dashboard ssl-sync when business/customer need certs).
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user