chore: canonical domain chat.hanzo.ai → hanzo.chat
Replace all chat.hanzo.ai references with hanzo.chat across source, config, and documentation. The old domain still serves via Traefik/K8s but will 301 redirect to hanzo.chat.
This commit is contained in:
+2
-2
@@ -23,8 +23,8 @@ MEILI_HOST=http://localhost:7700
|
||||
MEILI_MASTER_KEY=HanzoMeiliMasterKey
|
||||
|
||||
# ====== APPLICATION SETTINGS ======
|
||||
DOMAIN_CLIENT=https://chat.hanzo.ai
|
||||
DOMAIN_SERVER=https://chat.hanzo.ai
|
||||
DOMAIN_CLIENT=https://hanzo.chat
|
||||
DOMAIN_SERVER=https://hanzo.chat
|
||||
|
||||
# ====== SECURITY (CHANGE IN PRODUCTION) ======
|
||||
JWT_SECRET=hanzo-jwt-secret-change-in-production
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Hanzo Chat
|
||||
|
||||
AI chat interface with multi-model support,
|
||||
MCP integration, agents, and RAG. Live at **chat.hanzo.ai**.
|
||||
MCP integration, agents, and RAG. Live at **hanzo.chat**.
|
||||
|
||||
**Repo**: `github.com/hanzoai/chat`
|
||||
**Package**: `@hanzochat/chat`
|
||||
@@ -76,7 +76,7 @@ CREDS_KEY= CREDS_IV= # Credential encryption
|
||||
## K8s Deployment
|
||||
|
||||
- 2 replicas, port 3080
|
||||
- Ingress: `chat.hanzo.ai` + `hanzo.chat` (separate TLS certs)
|
||||
- Ingress: `hanzo.chat` (primary) + `chat.hanzo.ai` (301 → hanzo.chat)
|
||||
- Secret: `chat-secrets` (MONGO_URI, JWT_SECRET, CREDS_KEY/IV)
|
||||
- CI: `docker-publish.yml` -> `hanzoai/chat:latest` on Docker Hub
|
||||
- Image: `hanzoai/chat:latest` (amd64 only)
|
||||
|
||||
@@ -308,7 +308,7 @@ export default function LandingPage() {
|
||||
<div className="size-3 rounded-full bg-green-500" />
|
||||
</div>
|
||||
<span className="ml-2 text-xs" style={{ color: colors.mutedFg }}>
|
||||
chat.hanzo.ai
|
||||
hanzo.chat
|
||||
</span>
|
||||
</div>
|
||||
<pre className="overflow-x-auto p-4 text-sm" style={{ fontFamily: "'Roboto Mono', 'Geist Mono', monospace" }}>
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ services:
|
||||
- "traefik.docker.network=traefik"
|
||||
|
||||
# HTTPS router
|
||||
- "traefik.http.routers.hanzo-chat.rule=Host(`chat.hanzo.ai`)"
|
||||
- "traefik.http.routers.hanzo-chat.rule=Host(`hanzo.chat`) || Host(`chat.hanzo.ai`)"
|
||||
- "traefik.http.routers.hanzo-chat.entrypoints=websecure"
|
||||
- "traefik.http.routers.hanzo-chat.tls=true"
|
||||
- "traefik.http.routers.hanzo-chat.tls.certresolver=letsencrypt"
|
||||
|
||||
@@ -26,7 +26,7 @@ open http://localhost:8000 # IAM Dashboard
|
||||
| Service | Port | Description | Production URL |
|
||||
|---------|------|-------------|----------------|
|
||||
| **Cloud** | 3000 | AI Platform Dashboard | cloud.hanzo.ai |
|
||||
| **Chat** | 3081 | AI Chat Interface | chat.hanzo.ai |
|
||||
| **Chat** | 3081 | AI Chat Interface | hanzo.chat |
|
||||
| **Router** | 4000 | LLM Gateway (100+ providers) | api.hanzo.ai |
|
||||
| **IAM** | 8000 | Identity & Access Management | hanzo.id |
|
||||
| **Services** | 3333 | Service Orchestration | hanzo.services |
|
||||
@@ -154,7 +154,7 @@ docker compose -f compose.dev.yml up
|
||||
| IAM | localhost:8000 | hanzo.id |
|
||||
| Cloud | localhost:3000 | cloud.hanzo.ai |
|
||||
| API | localhost:4000 | api.hanzo.ai |
|
||||
| Chat | localhost:3081 | chat.hanzo.ai |
|
||||
| Chat | localhost:3081 | hanzo.chat |
|
||||
| Services | localhost:3333 | hanzo.services |
|
||||
|
||||
### Migration Checklist
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
| **IAM** | http://localhost:8000 | https://hanzo.id | Identity & Access Management |
|
||||
| **Cloud** | http://localhost:3000 | https://cloud.hanzo.ai | AI Platform Dashboard |
|
||||
| **Router** | http://localhost:4000 | https://api.hanzo.ai | LLM Gateway API |
|
||||
| **Chat** | http://localhost:3081 | https://chat.hanzo.ai | AI Chat Interface |
|
||||
| **Chat** | http://localhost:3081 | https://hanzo.chat | AI Chat Interface |
|
||||
| **Services** | http://localhost:3333 | https://hanzo.services | Service Orchestration |
|
||||
|
||||
## 🏗️ Architecture
|
||||
@@ -44,7 +44,7 @@ In production:
|
||||
│ │ │
|
||||
│ ┌────────────┬───────────┴───────────┬────────────┐ │
|
||||
│ ▼ ▼ ▼ ▼ │
|
||||
│ hanzo.id cloud.hanzo.ai api.hanzo.ai chat.hanzo.ai│
|
||||
│ hanzo.id cloud.hanzo.ai api.hanzo.ai hanzo.chat│
|
||||
│ (IAM) (Cloud) (Router) (Chat) │
|
||||
└─────────────────────────────────────────────────────────────────┘
|
||||
```
|
||||
@@ -77,7 +77,7 @@ SINGLE_TENANT_MODE=false
|
||||
IAM_URL=https://hanzo.id
|
||||
CLOUD_URL=https://cloud.hanzo.ai
|
||||
ROUTER_URL=https://api.hanzo.ai
|
||||
CHAT_URL=https://chat.hanzo.ai
|
||||
CHAT_URL=https://hanzo.chat
|
||||
SERVICES_URL=https://hanzo.services
|
||||
```
|
||||
|
||||
@@ -91,7 +91,7 @@ SERVICES_URL=https://hanzo.services
|
||||
- Host(`hanzo.id`) → IAM service
|
||||
- Host(`cloud.hanzo.ai`) → Cloud service
|
||||
- Host(`api.hanzo.ai`) → Router service
|
||||
- Host(`chat.hanzo.ai`) → Chat service
|
||||
- Host(`hanzo.chat`) → Chat service
|
||||
- Host(`hanzo.services`) → Services bridge
|
||||
```
|
||||
|
||||
@@ -183,4 +183,4 @@ User → Service → Redirect to hanzo.id → OAuth → Service
|
||||
- hanzo.services orchestrates all services
|
||||
- cloud.hanzo.ai manages AI configuration
|
||||
- api.hanzo.ai is the unified LLM gateway
|
||||
- chat.hanzo.ai is one of many possible frontends
|
||||
- hanzo.chat is one of many possible frontends
|
||||
@@ -208,7 +208,7 @@ actions:
|
||||
allowedDomains:
|
||||
- 'swapi.dev'
|
||||
- 'hanzo.ai'
|
||||
- 'chat.hanzo.ai'
|
||||
- 'hanzo.chat'
|
||||
- 'google.com'
|
||||
# - 'http://10.225.26.25:7894' # Internal IP with protocol/port (uncomment if needed)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user