mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 12:54:19 +01:00
websockets for btcpayserver nginx
This commit is contained in:
@@ -50,6 +50,10 @@ server {
|
||||
location / {
|
||||
proxy_pass ${REDIRECT};
|
||||
|
||||
# For websockets
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $http_connection;
|
||||
|
||||
# from https://github.com/rootzoll/raspiblitz/blob/v1.9/home.admin/assets/nginx/snippets/ssl-proxy-params.conf
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $http_host;
|
||||
|
||||
Reference in New Issue
Block a user