From 8f49d19e9f4ba9dc78f6a8e6e49ba15e9772f872 Mon Sep 17 00:00:00 2001 From: Stephen Glass Date: Sun, 30 Jun 2024 14:36:05 -0400 Subject: [PATCH] Add proxy section to keeping backstage updated docs Signed-off-by: Stephen Glass --- docs/getting-started/keeping-backstage-updated.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/getting-started/keeping-backstage-updated.md b/docs/getting-started/keeping-backstage-updated.md index 1de8874d56..1c01a289a9 100644 --- a/docs/getting-started/keeping-backstage-updated.md +++ b/docs/getting-started/keeping-backstage-updated.md @@ -78,3 +78,15 @@ duplicate definitions: # Add --fix to attempt automatic resolution in yarn.lock yarn backstage-cli versions:check ``` + +## Proxy + +The Backstage CLI uses [global-agent](https://www.npmjs.com/package/global-agent) to configure HTTP/HTTPS proxy settings using environment variables. This allows you to route the CLI’s network traffic through a proxy server, which can be useful in environments with restricted internet access. + +### Example Configuration + +```bash +export GLOBAL_AGENT_HTTP_PROXY=http://proxy.company.com:8080 +export GLOBAL_AGENT_HTTPS_PROXY=https://secure-proxy.company.com:8080 +export GLOBAL_AGENT_NO_PROXY=localhost,internal.company.com +```