From 1818d14e708497e502bb6e32a784857ad5d09787 Mon Sep 17 00:00:00 2001 From: tripathyr Date: Tue, 24 Oct 2023 16:03:45 +0530 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index e82efc5699..16b5e04985 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,22 @@ function broadcastTx(signedTxHash) { } ``` +# Websocket Connectivity issue with Nginx + +- Nginx needs more directives to permit Websocket traffic to pass. +- `proxy_set_header Upgrade $http_upgrade;` AND `proxy_set_header Connection "upgrade";` must be set in location in nginx conf file + +``` + location / { + proxy_pass https://0.0.0.0:98765/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; + } + +``` + # Blockbook **Blockbook** is back-end service for Trezor wallet. Main features of **Blockbook** are: