Use upstream hostnames in production nginx configuration

This commit is contained in:
wiz
2022-01-05 18:12:05 +09:00
parent c778e84247
commit 81bb31090e
3 changed files with 6 additions and 6 deletions

View File

@@ -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;