mirror of
https://github.com/mempool/mempool.git
synced 2025-01-17 18:52:34 +01:00
Use upstream hostnames in production nginx configuration
This commit is contained in:
parent
c778e84247
commit
81bb31090e
@ -1,11 +1,11 @@
|
||||
location /liquid/api/v1/ws {
|
||||
proxy_pass http://127.0.0.1:8998/;
|
||||
proxy_pass http://mempool-liquid-mainnet/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
}
|
||||
location /liquid/api/v1 {
|
||||
proxy_pass http://127.0.0.1:8998/api/v1;
|
||||
proxy_pass http://mempool-liquid-mainnet/api/v1;
|
||||
}
|
||||
location /liquid/api/ {
|
||||
proxy_pass http://electrs-liquid-mainnet/;
|
||||
|
@ -1,11 +1,11 @@
|
||||
location /liquidtestnet/api/v1/ws {
|
||||
proxy_pass http://127.0.0.1:8994/;
|
||||
proxy_pass http://mempool-liquid-testnet/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
}
|
||||
location /liquidtestnet/api/v1 {
|
||||
proxy_pass http://127.0.0.1:8994/api/v1;
|
||||
proxy_pass http://mempool-liquid-testnet/api/v1;
|
||||
}
|
||||
location /liquidtestnet/api/ {
|
||||
proxy_pass http://electrs-liquid-testnet/;
|
||||
|
@ -63,14 +63,14 @@ location /bisq/api {
|
||||
|
||||
# special handling for websocket
|
||||
location /api/v1/ws {
|
||||
proxy_pass http://127.0.0.1:8996/;
|
||||
proxy_pass http://mempool-bitcoin-bisq/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
}
|
||||
|
||||
location @mempool-bisq {
|
||||
proxy_pass http://127.0.0.1:8996;
|
||||
proxy_pass http://mempool-bitcoin-bisq;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
proxy_set_header Host $http_host;
|
||||
|
Loading…
Reference in New Issue
Block a user