Skip to content

Commit

Permalink
Example proxy config
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Jan 26, 2017
1 parent 6c79cf9 commit 1760e2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc/config.md
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 1760e2e

Please sign in to comment.