[Backport 8.10] Add important flag to proxy config docs (#2044)
(cherry picked from commit f7ed0394bf)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
This commit is contained in:
committed by
GitHub
parent
69e4c31eb0
commit
f08691cb9e
@ -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
|
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.
|
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.
|
To use a proxy, you will need to use the `HttpConnection` class from `@elastic/transport` instead.
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
|
|||||||
Reference in New Issue
Block a user