Permalink
Browse files

Redirect gemcutter.org and gems.rubyforge.org to rubygems.org

  • Loading branch information...
1 parent 3ad3b6e commit 7a8b11328f0b5bae12795a6cbff8f405b6a683f9 @evanphx evanphx committed Feb 4, 2013
Showing with 10 additions and 0 deletions.
  1. +10 −0 chef/site-cookbooks/rubygems/templates/default/nginx_balancer.conf.erb
@@ -33,6 +33,16 @@ server {
<% end %>
}
+# Old hosts that point to rubygems.org
+
+server {
+ listen 80;
+
+ server_name gemcutter.org gems.rubyforge.org;
+
+ rewrite ^(.*) https://rubygems.org$1 permanent;
+}
+
<% if @use_ssl %>
# HTTPS
server {

0 comments on commit 7a8b113

Please sign in to comment.