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

Commit

Permalink
Proxy to bundler to reduce client times
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Mar 30, 2014
1 parent b288080 commit fe55bd4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ server {
}

location /api/v1/dependencies {
rewrite ^(.*) http://bundler.rubygems.org$1 redirect;
proxy_set_header Host bundler.rubygems.org;
proxy_pass http://bundler.rubygems.org;
}

location /quick/Marshal.4.8/ {
Expand Down Expand Up @@ -246,7 +247,8 @@ server {
}

location /api/v1/dependencies {
rewrite ^(.*) https://bundler.rubygems.org$1 redirect;
proxy_set_header Host bundler.rubygems.org;
proxy_pass http://bundler.rubygems.org;
}

location /quick/Marshal.4.8/ {
Expand Down

0 comments on commit fe55bd4

Please sign in to comment.