Skip to content

Commit

Permalink
Auto merge of #3598 - pornel:proxyconf, r=alexcrichton
Browse files Browse the repository at this point in the history
Example proxy config

#3596
  • Loading branch information
bors committed Jan 27, 2017
2 parents 2d5a584 + 1760e2e commit 19dc757
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 19dc757

Please sign in to comment.