docs: say where the outbound proxy switch actually lives

The variables only take effect when Node runs with NODE_USE_ENV_PROXY=1, and
that is set in the image. This page also covers Helm, Unraid and source
installs, where nothing sets it, so following it there changed nothing.

Also recommend NO_PROXY. Without it the proxy sees every request TREK makes to
itself, including the container health check.
This commit is contained in:
Maurice
2026-08-13 16:04:19 +02:00
committed by Maurice
parent eecde11061
commit 5f4fa30416
+7
View File
@@ -111,6 +111,13 @@ proxying is disabled by default.
> **Note:** Proxy environment variables apply to requests made through Node.js's default HTTP dispatcher. Requests
> handled by TREK's SSRF protection use a dedicated dispatcher and do not use the environment proxy.
> **Container only.** Node ignores these variables unless it is started with `NODE_USE_ENV_PROXY=1`, and the official
> image sets that for you. On a source or Proxmox install, and on Helm where the chart's ConfigMap only passes through
> the keys it knows, set `NODE_USE_ENV_PROXY=1` alongside them or nothing will change.
> **Set `NO_PROXY`.** Without it every request goes to the proxy, including the ones TREK makes to itself, such as the
> container health check. `localhost,127.0.0.1` is a sensible minimum; add your own hosts as needed.
---
## HTTPS / Reverse Proxy