From 0791bbe3921002c7c0297172038dac3c99878c20 Mon Sep 17 00:00:00 2001 From: Noah Berman <38916274+noah-berman@users.noreply.github.com> Date: Wed, 25 Sep 2024 11:38:15 -0400 Subject: [PATCH] Update env.mdx Added a little bit more discoverability to our `SRC_HEADER_` section --- docs/cli/explanations/env.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli/explanations/env.mdx b/docs/cli/explanations/env.mdx index 50cc183ad..ef1355577 100644 --- a/docs/cli/explanations/env.mdx +++ b/docs/cli/explanations/env.mdx @@ -22,7 +22,7 @@ If the environment variable is not set, it'll default to "https://sourcegraph.co To create an access token, please refer to "[Creating an access token](/cli/how-tos/creating_an_access_token)". -## Adding request headers with `SRC_HEADER_` +## Adding request headers with `SRC_HEADER_` (Proxy Authentication with `src`) If your instance is behind an authenticating proxy that requires additional headers, they can be supplied via environment variables. Any environment variable passed starting with the string `SRC_HEADER_{string-A}="String-B"` will be passed into the request with form `String-A: String-B`. See examples below: