feat: four super-admin keys and production customer API security
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m18s
CI/CD Pipeline / Security Scanning (push) Successful in 2m34s
CI/CD Pipeline / Lint and Format (push) Failing after 54s
CI/CD Pipeline / Terraform Validation (push) Failing after 27s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 28s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 39s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 31s
Validation / validate-genesis (push) Successful in 28s
Validation / validate-terraform (push) Failing after 31s
Validation / validate-kubernetes (push) Failing after 11s
Validation / validate-smart-contracts (push) Failing after 11s
Validation / validate-security (push) Failing after 1m27s
Validation / validate-documentation (push) Failing after 21s
Verify Deployment / Verify Deployment (push) Has been cancelled

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-29 05:09:08 -07:00
parent 84f12c7edc
commit 064239be13
39 changed files with 1094 additions and 99 deletions

View File

@@ -1,6 +1,7 @@
# 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;
@@ -11,6 +12,7 @@ location /api/v1/ {
}
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;
@@ -22,6 +24,7 @@ location /settlement/ {
}
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;

View File

@@ -33,6 +33,7 @@ http {
index index.html;
location /api/v1/ {
include /srv/zardasht-portal/deploy/nginx/omnl-portal-auth-current.conf.inc;
proxy_pass http://omnl_lxc_api/api/v1/;
proxy_http_version 1.1;
proxy_set_header Host $host;
@@ -40,6 +41,7 @@ http {
}
location /settlement/ {
include /srv/zardasht-portal/deploy/nginx/omnl-portal-auth-current.conf.inc;
proxy_pass http://omnl_lxc_settlement/api/v1/settlement/;
proxy_http_version 1.1;
proxy_set_header Host $host;
@@ -47,6 +49,7 @@ http {
}
location /exchange/ {
include /srv/zardasht-portal/deploy/nginx/omnl-portal-auth-current.conf.inc;
proxy_pass http://omnl_lxc_exchange/api/v1/exchange/;
proxy_http_version 1.1;
proxy_set_header Host $host;

View File

@@ -0,0 +1,3 @@
# Copy to /etc/nginx/omnl-portal-auth-current.conf.inc on deploy (generated with real secrets).
# proxy_set_header Authorization "Bearer <super-admin-key>";
# proxy_set_header X-OMNL-Portal-Auth "<internal-secret>";