Skip to content

Commit

Permalink
[Backport 8.9] Add important flag to proxy config docs (#2042)
Browse files Browse the repository at this point in the history
(cherry picked from commit f7ed039)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
  • Loading branch information
github-actions[bot] and JoshMock committed Oct 24, 2023
1 parent 6e70735 commit f6f0747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/connecting.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ If you need to pass through an http(s) proxy for connecting to {es}, the client
out of the box offers a handy configuration for helping you with it. Under the
hood, it uses the https://github.com/delvedor/hpagent[`hpagent`] module.

In versions 8.0+ of the client, the default `Connection` type is set to `UndiciConnection`, which does not support proxy configurations.
IMPORTANT: In versions 8.0+ of the client, the default `Connection` type is set to `UndiciConnection`, which does not support proxy configurations.
To use a proxy, you will need to use the `HttpConnection` class from `@elastic/transport` instead.

[source,js]
Expand Down

0 comments on commit f6f0747

Please sign in to comment.