chore: remove obsolete payment architecture and integration test documentation - Remove AITBC_PAYMENT_ARCHITECTURE.md (dual-currency system documentation) - Remove IMPLEMENTATION_COMPLETE_SUMMARY.md (integration test completion summary) - Remove INTEGRATION_TEST_FIXES.md (test fixes documentation) - Remove INTEGRATION_TEST_UPDATES.md (real features implementation notes) - Remove PAYMENT_INTEGRATION_COMPLETE.md (wallet-coordinator integration docs) - Remove WALLET_COORDINATOR_INTEGRATION.md (payment
32 lines
750 B
Nginx Configuration File
32 lines
750 B
Nginx Configuration File
server {
|
|
listen 3000;
|
|
server_name _;
|
|
root /opt/blockchain-explorer;
|
|
index index.html;
|
|
|
|
# API proxy - standardize endpoints
|
|
location /api/v1/ {
|
|
proxy_pass http://localhost:8082/rpc/;
|
|
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;
|
|
}
|
|
|
|
# Legacy API compatibility
|
|
location /rpc {
|
|
return 307 /api/v1$uri?$args;
|
|
}
|
|
|
|
# Static files
|
|
location /assets/ {
|
|
expires 1y;
|
|
add_header Cache-Control "public, immutable";
|
|
}
|
|
|
|
# SPA fallback
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|