chore: update genesis timestamp, fix import paths, clean compiled JS files, and adjust mock path - Update devnet genesis timestamp to 1766400877 - Add Receipt model for zk-proof generation with receiptId, miner, coordinator fields - Fix import paths from settings to config across service modules (access_control, audit_logging, encryption, hsm_key_manager, key_management, zk_proofs) - Remove compiled JavaScript files from explorer-web components and lib directories - Update mock data base path
58 lines
1.6 KiB
Plaintext
58 lines
1.6 KiB
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name aitbc.bubuit.net localhost;
|
|
|
|
# Forward all requests to the AITBC container
|
|
location / {
|
|
proxy_pass http://10.1.223.93;
|
|
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;
|
|
|
|
# WebSocket support
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
# Timeouts
|
|
proxy_connect_timeout 60s;
|
|
proxy_send_timeout 60s;
|
|
proxy_read_timeout 60s;
|
|
|
|
# Buffer settings
|
|
proxy_buffering on;
|
|
proxy_buffer_size 4k;
|
|
proxy_buffers 8 4k;
|
|
}
|
|
|
|
# Health check endpoint
|
|
location /health {
|
|
proxy_pass http://10.1.223.93/health;
|
|
access_log off;
|
|
}
|
|
|
|
# Logging
|
|
access_log /var/log/nginx/aitbc-proxy.access.log;
|
|
error_log /var/log/nginx/aitbc-proxy.error.log;
|
|
}
|
|
|
|
# HTTPS configuration (for future SSL setup)
|
|
# server {
|
|
# listen 443 ssl http2;
|
|
# listen [::]:443 ssl http2;
|
|
# server_name aitbc.bubuit.net;
|
|
#
|
|
# ssl_certificate /etc/ssl/certs/aitbc.bubuit.net.crt;
|
|
# ssl_certificate_key /etc/ssl/private/aitbc.bubuit.net.key;
|
|
#
|
|
# location / {
|
|
# proxy_pass http://10.1.223.93;
|
|
# 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;
|
|
# }
|
|
# }
|