mirror of
https://git.meshkee.com/Meshkee/backend.git
synced 2026-08-12 06:40:58 +04:30
Append tenant Farsi name to verification SMS, allow optional domain on send-otp, and add SMS_PROXY_* for local delivery via production. Also include websites SSL sync agent/API wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
448 B
Markdown
10 lines
448 B
Markdown
# Websites deploy / provision agent (runs on websites VM: /opt/websites-agent)
|
|
#
|
|
# Endpoints (X-Deploy-Token):
|
|
# POST /deploy { slug } — git pull + build + pm2 restart
|
|
# POST /provision { slug, host, gitRepoUrl } — clone + nginx + ecosystem + allowlist
|
|
# POST /ssl { host, slug? } — certbot for apex + www (nginx must exist)
|
|
# GET /health
|
|
#
|
|
# Env (.env): PORT, DEPLOY_TOKEN, ALLOWED_SLUGS
|