feat: separate Z Ecosystem onto zblockchainsystem.com
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m16s
CI/CD Pipeline / Security Scanning (push) Successful in 2m52s
CI/CD Pipeline / Lint and Format (push) Failing after 46s
CI/CD Pipeline / Terraform Validation (push) Failing after 26s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 28s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 45s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 20s
Validation / validate-genesis (push) Successful in 32s
Validation / validate-terraform (push) Failing after 30s
Validation / validate-kubernetes (push) Failing after 11s
Validation / validate-smart-contracts (push) Failing after 11s
Validation / validate-security (push) Failing after 1m35s
Validation / validate-documentation (push) Failing after 22s
Verify Deployment / Verify Deployment (push) Failing after 1m4s

Move Z Chain, wallet, bot, swap, and Z Bank UI off OMNL domains with dedicated nginx vhost and production DNS config.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-07 00:57:29 -07:00
parent e35ad9047c
commit eaca1ee6ca
25 changed files with 349 additions and 76 deletions

View File

@@ -0,0 +1,91 @@
# Z Ecosystem — zblockchainsystem.com (Z Chain, Wallet, Bot, Swap, Z Bank UI)
# Deploy: scripts/deployment/deploy-z-domains.sh
# Shares upstreams with OMNL portal on :3000 / :3011 / :3012 / :3002
upstream z_ecosystem_frontend {
server 127.0.0.1:3002;
}
upstream z_ecosystem_api {
server 127.0.0.1:3000;
}
upstream z_ecosystem_settlement {
server 127.0.0.1:3011;
}
upstream z_ecosystem_exchange {
server 127.0.0.1:3012;
}
server {
listen 80;
listen [::]:80;
server_name zblockchainsystem.com www.zblockchainsystem.com;
add_header X-Z-Product "z-ecosystem" always;
add_header X-Z-Chain "900002" always;
location = / {
return 302 /z;
}
location /api/v1/ {
proxy_pass http://z_ecosystem_api/api/v1/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 120s;
}
location /settlement/ {
proxy_pass http://z_ecosystem_settlement/api/v1/settlement/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 120s;
}
location /exchange/ {
proxy_pass http://z_ecosystem_exchange/api/v1/exchange/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_read_timeout 120s;
}
location /omnl/ {
proxy_pass http://z_ecosystem_api/omnl/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_read_timeout 120s;
}
location /reserve/ {
proxy_pass http://z_ecosystem_api/reserve/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_read_timeout 120s;
}
location /assets/ {
proxy_pass http://z_ecosystem_frontend;
proxy_http_version 1.1;
proxy_set_header Host $host;
expires 1y;
add_header Cache-Control "public, immutable";
}
location / {
proxy_pass http://z_ecosystem_frontend;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
add_header Cache-Control "no-cache, no-store, must-revalidate" always;
}
}