mirror of
https://github.com/Xahau/Validation-Ledger-Tx-Store-to-xPOP.git
synced 2025-11-18 18:55:50 +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 / {
|
||||
proxy_pass http://backend-testnet;
|
||||
proxy_http_version 1.1;
|
||||
@@ -193,6 +197,10 @@ http {
|
||||
}
|
||||
}
|
||||
|
||||
location /testnet/ {
|
||||
proxy_pass http://127.0.0.1:$PUBLIC_PORT_TESTNET/;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://backend-mainnet;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
Reference in New Issue
Block a user