Files
smom-dbis-138/deploy/nginx/omnl-common-locations.conf
zaragoza444 f743a156a7
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m23s
CI/CD Pipeline / Security Scanning (push) Successful in 2m45s
CI/CD Pipeline / Lint and Format (push) Failing after 49s
CI/CD Pipeline / Terraform Validation (push) Failing after 36s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 30s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 1m1s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 33s
Validation / validate-genesis (push) Successful in 34s
Validation / validate-terraform (push) Failing after 35s
Validation / validate-kubernetes (push) Failing after 10s
Validation / validate-smart-contracts (push) Failing after 14s
Validation / validate-security (push) Failing after 2m17s
Validation / validate-documentation (push) Failing after 20s
Verify Deployment / Verify Deployment (push) Failing after 3m22s
feat: nginx vhosts for OMNL production domains (omdnl.org + d-bis.org)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 12:51:26 -07:00

47 lines
1.4 KiB
Plaintext

# Shared OMNL Bank proxy locations (include inside each server block)
location /api/v1/ {
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/ {
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_set_header Authorization $http_authorization;
proxy_read_timeout 120s;
}
location /exchange/ {
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;
}
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;
}