Skip to content

Commit 8c4fcc6

Browse files
fix(docs): update nginx websocket config example (#3745)
1 parent 9b5aaad commit 8c4fcc6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/guide/changing-base.md

+3
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,8 @@ location ^~ /foobar/ {
4242
chunked_transfer_encoding off;
4343
proxy_buffering off;
4444
proxy_cache off;
45+
proxy_http_version 1.1;
46+
proxy_set_header Upgrade $http_upgrade;
47+
proxy_set_header Connection "upgrade";
4548
}
4649
```

0 commit comments

Comments
 (0)