Update production nginx.conf and mempool-config.json for Bisq Markets API

This commit is contained in:
wiz 2020-09-23 19:39:46 +09:00
parent fa75c1b08d
commit 3aff874479
No known key found for this signature in database
GPG Key ID: A394E332255A6173
2 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,6 @@
"TX_PER_SECOND_SPAN_SECONDS": 150,
"ELECTRS_API_URL": "http://[::1]:3000",
"BISQ_ENABLED": true,
"BSQ_BLOCKS_DATA_PATH": "/bisq/statsnode-data/btc_mainnet/db/json",
"BISQ_BLOCKS_DATA_PATH": "/bisq/statsnode-data/btc_mainnet/db/json",
"BISQ_MARKET_ENABLED": true,
"BISQ_MARKETS_DATA_PATH": "/bisq/statsnode-data",

View File

@ -192,6 +192,10 @@ http {
proxy_set_header Connection "Upgrade";
limit_conn websocket 10;
}
location /bisq/api/v1/markets {
proxy_pass http://127.0.0.1:8996/api/v1/bisq/markets;
#limit_req burst=50 nodelay zone=api;
}
location /bisq/api/v1 {
proxy_pass http://127.0.0.1:8996/api/v1;
limit_req burst=50 nodelay zone=api;