[redirects-web] Add a redirect for pygtk.org (as per https://gitlab.gnome.org/Infrastructure/pygtk-web/commit/98ad64



commit c942fba0acceddcec18be9719c8544186865f49e
Author: Andrea Veri <averi redhat com>
Date:   Fri Aug 23 13:10:24 2019 +0200

    Add a redirect for pygtk.org (as per 
https://gitlab.gnome.org/Infrastructure/pygtk-web/commit/98ad64c8fdb1b17ec5f8a34de6bf47f5fb6e6297)

 app_data/httpd-cfg/pygtk.org.conf |  6 ++++++
 resources/pygtk.org.yaml          | 14 ++++++++++++++
 resources/www.pygtk.org.yaml      | 14 ++++++++++++++
 3 files changed, 34 insertions(+)
---
diff --git a/app_data/httpd-cfg/pygtk.org.conf b/app_data/httpd-cfg/pygtk.org.conf
new file mode 100644
index 0000000..5fb2bd1
--- /dev/null
+++ b/app_data/httpd-cfg/pygtk.org.conf
@@ -0,0 +1,6 @@
+<VirtualHost *:8080>
+    ServerName pygtk.org 
+    ServerAlias www.pygtk.org 
+
+    RedirectMatch /.* https://pygobject.readthedocs.io/en/latest 
+</VirtualHost>
diff --git a/resources/pygtk.org.yaml b/resources/pygtk.org.yaml
new file mode 100644
index 0000000..5a4f3ff
--- /dev/null
+++ b/resources/pygtk.org.yaml
@@ -0,0 +1,14 @@
+apiVersion: route.openshift.io/v1
+kind: Route
+metadata:
+  name: pygtk.org
+  namespace: redirects-web
+spec:
+  host: pygtk.org
+  port:
+    targetPort: 8080-tcp
+  to:
+    kind: Service
+    name: redirects-web
+    weight: 100
+  wildcardPolicy: None
diff --git a/resources/www.pygtk.org.yaml b/resources/www.pygtk.org.yaml
new file mode 100644
index 0000000..9832172
--- /dev/null
+++ b/resources/www.pygtk.org.yaml
@@ -0,0 +1,14 @@
+apiVersion: route.openshift.io/v1
+kind: Route
+metadata:
+  name: www.pygtk.org
+  namespace: redirects-web
+spec:
+  host: www.pygtk.org
+  port:
+    targetPort: 8080-tcp
+  to:
+    kind: Service
+    name: redirects-web
+    weight: 100
+  wildcardPolicy: None


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