mirror of
https://github.com/Xahau/Validation-Ledger-Tx-Store-to-xPOP.git
synced 2025-11-20 11:45:51 +00:00
Allow mainnet to serve testnet and vice versa
This commit is contained in:
@@ -112,6 +112,10 @@ http {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /mainnet/ {
|
||||||
|
proxy_pass http://127.0.0.1:$PUBLIC_PORT/;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://backend-testnet;
|
proxy_pass http://backend-testnet;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
@@ -193,6 +197,10 @@ http {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /testnet/ {
|
||||||
|
proxy_pass http://127.0.0.1:$PUBLIC_PORT_TESTNET/;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://backend-mainnet;
|
proxy_pass http://backend-mainnet;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|||||||
Reference in New Issue
Block a user