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

This commit is contained in:
wiz 2021-01-31 01:15:54 +09:00
parent f3c18b152a
commit d3646aa45e
No known key found for this signature in database
GPG Key ID: A394E332255A6173
4 changed files with 6 additions and 6 deletions

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,

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,

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,

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;