Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m22s
CI/CD Pipeline / Security Scanning (push) Successful in 2m40s
CI/CD Pipeline / Lint and Format (push) Failing after 50s
CI/CD Pipeline / Terraform Validation (push) Failing after 27s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 28s
Validation / validate-genesis (push) Successful in 36s
Validation / validate-terraform (push) Failing after 36s
Validation / validate-kubernetes (push) Failing after 13s
Validation / validate-smart-contracts (push) Failing after 13s
Validation / validate-security (push) Failing after 1m33s
Validation / validate-documentation (push) Failing after 24s
Add DBIS Hub landing page with /hub and /bridge routes, central-bank hash scroll targets, nginx /omnl/ proxy to token-aggregation for local dev and production hosts, and a public-url-zardasht tunnel URL template for operator handoff. Co-authored-by: Cursor <cursoragent@cursor.com>
69 lines
2.3 KiB
Plaintext
69 lines
2.3 KiB
Plaintext
# Shared OMNL Bank proxy locations (include inside each server block)
|
|
|
|
location /api/v1/ {
|
|
include /etc/nginx/omnl-portal-auth-current.conf.inc;
|
|
proxy_pass http://omnl_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/ {
|
|
include /etc/nginx/omnl-portal-auth-current.conf.inc;
|
|
proxy_pass http://omnl_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/ {
|
|
include /etc/nginx/omnl-portal-auth-current.conf.inc;
|
|
proxy_pass http://omnl_exchange/api/v1/exchange/;
|
|
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;
|
|
}
|
|
|
|
# token-aggregation HTML consoles (/omnl/compliance, /omnl/dashboard, /omnl/terminal)
|
|
location /omnl/ {
|
|
include /etc/nginx/omnl-portal-auth-current.conf.inc;
|
|
proxy_pass http://omnl_api/omnl/;
|
|
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 /health {
|
|
return 200 'OMNL Bank online — 128 chains';
|
|
add_header Content-Type text/plain;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://omnl_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;
|
|
}
|
|
|
|
location = /index.html {
|
|
proxy_pass http://omnl_frontend/index.html;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
add_header Cache-Control "no-cache, no-store, must-revalidate" always;
|
|
}
|