redirect hits to admin.fp.o/community to apps.fp.o/packages

Seth Vidal skvidal at fedoraproject.org
Fri Dec 21 18:08:05 UTC 2012


This is the first step to decommissioning app07 and the old /community 
path.

diff --git a/manifests/services/proxy.pp b/manifests/services/proxy.pp
index 24fdd98..79466fd 100644
--- a/manifests/services/proxy.pp
+++ b/manifests/services/proxy.pp
@@ -535,10 +535,10 @@ class proxy {
          website  => "smolts.org",
      }

-    fedoracommunity::proxy { "admin.fedoraproject.org/community":
+    httpd::redirect { "admin.fedoraproject.org/community":
          website  => "admin.fedoraproject.org",
          path     => "/community",
-        proxyurl => "http://localhost:10012",
+        target   => "http://apps.fedoraproject.org/packages",
      }

      elections::proxy { "admin.fedoraproject.org/voting":




All this does is swap us from setting up community to putting in a 
redirect permanent for that path.

Once this is in and tested I will send another patch for disabling the 
haproxy/varnish and then decomming app07


I need two +1's, if this looks okay

-sv



More information about the infrastructure mailing list