Fix production nginx.conf and backend config to always use unique ports

This commit is contained in:
wiz committed 2021-01-31 01:16:32 +09:00
1 parent 1bed4b4313
commit da2f9aa80d
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@
"PASSWORD": "bar"
},
"ESPLORA": {
"REST_API_URL": "http://127.0.0.1:3001"
"REST_API_URL": "http://127.0.0.1:2001"
},
"DATABASE": {
"ENABLED": true,
+1 -1
View File
@@ -13,7 +13,7 @@
"PASSWORD": "bar"
},
"ESPLORA": {
"REST_API_URL": "http://127.0.0.1:3000"
"REST_API_URL": "http://127.0.0.1:2000"
},
"DATABASE": {
"ENABLED": true,
+1 -1
View File
@@ -14,7 +14,7 @@
"PASSWORD": "bar"
},
"ESPLORA": {
"REST_API_URL": "http://127.0.0.1:3002"
"REST_API_URL": "http://127.0.0.1:2002"
},
"DATABASE": {
"ENABLED": true,
+3 -3
View File
@@ -136,7 +136,7 @@ http {
server [2401:b140:1::100:210]:3000 backup;
}
server {
listen 127.0.0.1:3000;
listen 127.0.0.1:2000;
access_log /dev/null;
location / {
proxy_pass http://electrs-mainnet;
@@ -148,7 +148,7 @@ http {
server [2401:b140:1::100:210]:3001 backup;
}
server {
listen 127.0.0.1:3001;
listen 127.0.0.1:2001;
access_log /dev/null;
location / {
proxy_pass http://electrs-liquid;
@@ -160,7 +160,7 @@ http {
server [2401:b140:1::100:210]:3002 backup;
}
server {
listen 127.0.0.1:3002;
listen 127.0.0.1:2002;
access_log /dev/null;
location / {
proxy_pass http://electrs-testnet;