Skip to content

Commit 1d040b6

Browse files
committed
update other providers as in 269e7dc
""" Use http/1.1 for both websockets and regular rpc (#137) With http/1.0 negotiation for websockets, the websocket negotiation will fail. """
1 parent 269e7dc commit 1d040b6

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

doc/example-nginx-bisontrails.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ http {
2323
server {
2424
listen 7900;
2525
location / {
26+
proxy_http_version 1.1;
2627
proxy_set_header Upgrade $http_upgrade;
2728
proxy_set_header Connection "Upgrade";
2829
proxy_pass https://backend/ws;
2930
proxy_set_header Authorization "Basic YOUR_BASE64_USERPASS";
3031
proxy_set_header Host YOUR_NODE;
3132
}
3233
}
34+
3335
server {
3436
listen 7899;
3537
location / {

doc/example-nginx-blockdaemon.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ http {
2424
server {
2525
listen 7900;
2626
location / {
27+
proxy_http_version 1.1;
2728
proxy_set_header Upgrade $http_upgrade;
2829
proxy_set_header Connection "Upgrade";
2930
proxy_set_header Authorization "Bearer YOUR_AUTH_TOKEN_HERE";

doc/example-nginx-figment.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ http {
2222
server {
2323
listen 7900;
2424
location / {
25+
proxy_http_version 1.1;
2526
proxy_set_header Upgrade $http_upgrade;
2627
proxy_set_header Connection "Upgrade";
2728
proxy_pass https://backend/apikey/YOUR_AUTH_TOKEN_HERE/;

0 commit comments

Comments
 (0)