Permalink
Browse files

Use the proper s3 ssl host

  • Loading branch information...
1 parent d58093f commit 3acc315d3e6f68b0fa332bc3a9e7d498ece427b2 @evanphx evanphx committed Apr 10, 2012
Showing with 16 additions and 16 deletions.
  1. +16 −16 nginx/rubygems-ssl.conf
View
32 nginx/rubygems-ssl.conf
@@ -43,69 +43,69 @@ server {
}
location = /specs.4.8.gz {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /latest_specs.4.8.gz {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /prerelease_specs.4.8.gz {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
# Crufty old redirects
location = /specs.4.8 {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /latest_specs.4.8 {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /prerelease_specs.4.8 {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /quick/rubygems-update-1.3.6.gemspec.rz {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /yaml.Z {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /yaml.z {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /yaml {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /Marshal.4.8.Z {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /Marshal.4.8 {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /quick/index.rz {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /quick/index {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /quick/latest_index.rz {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
location = /quick/latest_index {
- rewrite ^ https://production.s3.rubygems.org.s3.amazonaws.com$request_uri redirect;
+ rewrite ^ https://s3.amazonaws.com/production.s3.rubygems.org$request_uri redirect;
}
}

0 comments on commit 3acc315

Please sign in to comment.