Fix nginx BTCPay websocket Notifications requests and also BTCPayServer Vault request (not in Tor) (#1539)

This commit is contained in:
Laurent Debricon 2020-09-14 11:54:42 +02:00 committed by rootzoll
parent cdfdb365e1
commit 164ff4d9ac
2 changed files with 11 additions and 0 deletions

View file

@ -14,6 +14,12 @@ server {
location / {
proxy_pass http://127.0.0.1:23000;
# For websockets
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
include /etc/nginx/snippets/ssl-proxy-params.conf;
}

View file

@ -14,6 +14,11 @@ server {
location / {
proxy_pass http://127.0.0.1:23000;
# For websockets
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
include /etc/nginx/snippets/ssl-proxy-params.conf;
}