Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.

Commit

Permalink
Temporarily route CN/JP traffic to au-m.rubygems.org since tokyo-m.ru…
Browse files Browse the repository at this point in the history
…bygems.org is currently down
Sam Kottler committed May 7, 2014
1 parent fcbde28 commit dd623c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -27,11 +27,11 @@ server {

<% if node["nginx"]["geoip"] %>
if ($geoip_country_code = "CN") {
set $gem_mirror http://tokyo-m.rubygems.org;
set $gem_mirror http://au-m.rubygems.org;
}

if ($geoip_country_code = "JP") {
set $gem_mirror http://tokyo-m.rubygems.org;
set $gem_mirror http://au-m.rubygems.org;
}

if ($geoip_country_code = "AU") {

2 comments on commit dd623c9

@skottler
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@evanphx can you reach out to the mirror maintainers? In the longer term we need to put the mirrors into our monitoring systems for at least basic availability.

@evanphx
Copy link
Member

@evanphx evanphx commented on dd623c9 May 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We/I run them all.

Please sign in to comment.