improve proxy doc (#791)

Co-authored-by: AlteredCoder <AlteredCoder>
This commit is contained in:
AlteredCoder 2021-05-12 17:19:56 +02:00 committed by GitHub
parent fd830b4293
commit 1d13fe754b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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://<proxy_url>
```
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 ?