From 3aff8744795d316c29fbf07608c45920373afc27 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 23 Sep 2020 19:39:46 +0900 Subject: [PATCH] Update production nginx.conf and mempool-config.json for Bisq Markets API --- production/mempool-config.bisq.json | 1 - production/nginx.conf | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/production/mempool-config.bisq.json b/production/mempool-config.bisq.json index 917865041..e66976fc0 100644 --- a/production/mempool-config.bisq.json +++ b/production/mempool-config.bisq.json @@ -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", diff --git a/production/nginx.conf b/production/nginx.conf index 3024e132d..38df6e985 100644 --- a/production/nginx.conf +++ b/production/nginx.conf @@ -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;