mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Use https protocol for URLs for config mirror
example.org is used mirror URL as an example, not to make access to a (potential) third-party domain. Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> https://github.com/rubygems/rubygems/commit/31230f850c
This commit is contained in:
parent
8e451d1083
commit
7fda741f6e
2 changed files with 4 additions and 4 deletions
|
@ -342,13 +342,13 @@ bundle config set \-\-global mirror\.SOURCE_URL MIRROR_URL
|
|||
.IP "" 0
|
||||
.
|
||||
.P
|
||||
For example, to use a mirror of rubygems\.org hosted at rubygems\-mirror\.org:
|
||||
For example, to use a mirror of https://rubygems\.org hosted at https://example\.org:
|
||||
.
|
||||
.IP "" 4
|
||||
.
|
||||
.nf
|
||||
|
||||
bundle config set \-\-global mirror\.http://rubygems\.org http://rubygems\-mirror\.org
|
||||
bundle config set \-\-global mirror\.https://rubygems\.org https://example\.org
|
||||
.
|
||||
.fi
|
||||
.
|
||||
|
|
|
@ -321,9 +321,9 @@ mirror to fetch gems.
|
|||
|
||||
bundle config set --global mirror.SOURCE_URL MIRROR_URL
|
||||
|
||||
For example, to use a mirror of rubygems.org hosted at rubygems-mirror.org:
|
||||
For example, to use a mirror of https://rubygems.org hosted at https://example.org:
|
||||
|
||||
bundle config set --global mirror.http://rubygems.org http://rubygems-mirror.org
|
||||
bundle config set --global mirror.https://rubygems.org https://example.org
|
||||
|
||||
Each mirror also provides a fallback timeout setting. If the mirror does not
|
||||
respond within the fallback timeout, Bundler will try to use the original
|
||||
|
|
Loading…
Add table
Reference in a new issue