Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 7a8b11328f0b5bae12795a6cbff8f405b6a683f9 1 parent 3ad3b6e
@evanphx evanphx authored
View
10 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 {
Please sign in to comment.
Something went wrong with that request. Please try again.