From: Kornel Lesiński Date: Thu, 26 Jan 2017 23:28:56 +0000 (+0000) Subject: Example proxy config X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~11^2~16^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1760e2e8fffecf26bd0d079a0cd7b41823dffccb;p=cargo.git Example proxy config #3596 --- diff --git a/src/doc/config.md b/src/doc/config.md index c542af429..798a25da6 100644 --- a/src/doc/config.md +++ b/src/doc/config.md @@ -79,7 +79,8 @@ index = "..." # URL of the registry index (defaults to the central repository) token = "..." # Access token (found on the central repo’s website) [http] -proxy = "..." # HTTP proxy to use for HTTP requests (defaults to none) +proxy = "host:port" # HTTP proxy to use for HTTP requests (defaults to none) + # in libcurl format, e.g. "socks5h://host:port" timeout = 60000 # Timeout for each HTTP request, in milliseconds cainfo = "cert.pem" # Path to Certificate Authority (CA) bundle (optional)