From 1d13fe754b92ac5584851a33ec1ed4a6560df4e6 Mon Sep 17 00:00:00 2001 From: AlteredCoder <64792091+AlteredCoder@users.noreply.github.com> Date: Wed, 12 May 2021 17:19:56 +0200 Subject: [PATCH] improve proxy doc (#791) Co-authored-by: AlteredCoder --- docs/faq.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 79c7f3e1c..dccbc89d5 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -85,10 +85,16 @@ Setting up a proxy works out of the box, the [net/http golang library](https://g * `HTTPS_PROXY` * `NO_PROXY` -Since {{v1X.cli.name}} uses `sudo`, you just this line in `visudo` after setting up the previous environment variables: +For example: ``` -Defaults env_keep += "HTTP_PROXY HTTPS_PROXY NO_PROXY" +export HTTP_PROXY=http:// +``` + +If you uses `sudo` {{v1X.cli.name}}, just add this line in `visudo` after setting up the previous environment variables: + +``` +Defaults env_keep += "HTTP_PROXY HTTPS_PROXY NO_PROXY" ``` ## How to report a bug ?