Skip to content

Commit

Permalink
Fix nginx BTCPay websocket Notifications requests and also BTCPayServ…
Browse files Browse the repository at this point in the history
…er Vault request (not in Tor) (raspiblitz#1539)
  • Loading branch information
laurentdebricon authored Sep 14, 2020
1 parent 9143b4c commit 96f107f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions home.admin/assets/nginx/sites-available/btcpay_ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
5 changes: 5 additions & 0 deletions home.admin/assets/nginx/sites-available/btcpay_tor_ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 96f107f

Please sign in to comment.