Files
smom-dbis-138/deploy/nginx/z-ecosystem-domains.conf
zaragoza444 1cce8ed08f
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m14s
CI/CD Pipeline / Security Scanning (push) Successful in 2m27s
CI/CD Pipeline / Lint and Format (push) Failing after 45s
CI/CD Pipeline / Terraform Validation (push) Failing after 22s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 25s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 37s
Validation / validate-genesis (push) Successful in 28s
Validation / validate-terraform (push) Failing after 25s
Validation / validate-kubernetes (push) Failing after 10s
Validation / validate-smart-contracts (push) Failing after 11s
Validation / validate-security (push) Failing after 1m16s
Validation / validate-documentation (push) Failing after 18s
Verify Deployment / Verify Deployment (push) Failing after 55s
fix(deploy): run Z API on port 3100 in production to avoid Gitea conflict
Production server binds Gitea on :3000, so token-aggregation now uses
:3100 with a dedicated production env profile and nginx upstream.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 07:41:20 -07:00

50 lines
1.0 KiB
Plaintext

# Z Ecosystem — zblockchainsystem.com (Z Chain, Wallet, Bot, Swap, Z Bank)
# Deploy: scripts/deployment/deploy-z-domains.sh
# Independent from OMNL / DBIS portals
upstream z_ecosystem_frontend {
server 127.0.0.1:3002;
}
upstream z_ecosystem_api {
server 127.0.0.1:3100;
}
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;
}
include /etc/nginx/snippets/z-ecosystem-common-locations.conf;
}
server {
listen 80;
listen [::]:80;
server_name rpc.zblockchainsystem.com;
add_header X-Z-Product "z-chain-rpc" always;
location / {
proxy_pass http://127.0.0.1:8546;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_read_timeout 120s;
}
}