Skip to content

Commit 269e7dc

Browse files
authored
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 9c46364 commit 269e7dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/example-nginx-triton1.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/YOUR_AUTH_TOKEN_HERE/;

0 commit comments

Comments
 (0)