chore(domain): migrate to nexusautoparts.com.mx

- Update Nginx config:
  - nexusautoparts.com.mx -> POS (port 5001)
  - admin.nexusautoparts.com.mx -> Dashboard (port 5000)
  - nexus.consultoria-as.com -> legacy redirect (dashboard)
  - Add redirect / -> /pos/login for main domain
- Update domain references in code:
  - capacitor.config.json (mobile apps)
  - pos/mobile/README.md
  - pos/config.py SMTP_FROM
- Add Caddy config docs for reverse proxy VM (192.168.10.74)
This commit is contained in:
2026-05-14 08:59:29 +00:00
parent ee9eea58c1
commit 2b0215d6b8
4 changed files with 35 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
"appName": "Nexus POS",
"webDir": "www",
"server": {
"url": "https://nexus.consultoria-as.com/pos",
"url": "https://nexusautoparts.com.mx/pos",
"cleartext": true
},
"plugins": {

View File

@@ -57,7 +57,7 @@ SMTP_HOST = os.environ.get('SMTP_HOST', 'smtp.gmail.com')
SMTP_PORT = int(os.environ.get('SMTP_PORT', '587'))
SMTP_USER = os.environ.get('SMTP_USER', '')
SMTP_PASS = os.environ.get('SMTP_PASS', '')
SMTP_FROM = os.environ.get('SMTP_FROM', 'noreply@nexusautoparts.com')
SMTP_FROM = os.environ.get('SMTP_FROM', 'noreply@nexusautoparts.com.mx')
# ─── WhatsApp Bridge ───────────────────────────────────────────────────────
WHATSAPP_BRIDGE_URL = os.environ.get('WHATSAPP_BRIDGE_URL', 'http://localhost:21465')

View File

@@ -8,7 +8,7 @@
## Architecture
The Capacitor app loads the POS from the remote server at
`https://nexus.consultoria-as.com/pos`. This means:
`https://nexusautoparts.com.mx/pos`. This means:
- The app requires internet on first load.
- The PWA service worker handles offline caching after that.
- No HTML/JS/CSS is bundled into the native binary.