- Change file mode from 644 to 755 for all project files - Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet" - Rename Miner.extra_meta_data to extra_metadata for consistency
21 lines
740 B
Plaintext
Executable File
21 lines
740 B
Plaintext
Executable File
# Exchange API Routes - Add this to the existing nginx config
|
|
|
|
# Exchange API Routes
|
|
location /api/trades/ {
|
|
proxy_pass http://127.0.0.1:3003/api/trades/;
|
|
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_buffering off;
|
|
}
|
|
|
|
location /api/orders {
|
|
proxy_pass http://127.0.0.1:3003/api/orders;
|
|
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_buffering off;
|
|
}
|