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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure



[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux