Upsert ArvanCloud DNS records when a super-admin adds or updates a domain.

Tenant zones get an apex ANAME and CNAMEs for www, business, customer, and api without storing origin IPs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-14 11:16:35 +03:30
co-authored by Cursor
parent d08a85cee5
commit 30119e6d9e
6 changed files with 301 additions and 2 deletions
+6
View File
@@ -95,6 +95,12 @@ WEBSITE_DEPLOY_TOKEN=
SSL_SYNC_AGENT_URL=http://45.149.76.52:9051/ssl-sync
SSL_SYNC_AGENT_TOKEN=
# ArvanCloud CDN DNS (Machine User key from Arvan panel)
# Header sent as: Authorization: Apikey <ARVAN_API_KEY>
ARVAN_API_KEY=
# Optional override; default https://napi.arvancloud.ir/cdn/4.0
# ARVAN_API_BASE_URL=https://napi.arvancloud.ir/cdn/4.0
# Public domain for platform invoice links (https://{domain}/invoices/{id})
INVOICE_PUBLIC_DOMAIN=meshkee.com
# Optional full origin for local (overrides domain + business host), e.g. https://meshkee.app:5174