[redirects-web] Migrate ostree redirect over to OSCP



commit 573ac46d3c9eb40cd30e9b909d1c58d350f5f548
Author: Andrea Veri <averi redhat com>
Date:   Fri Aug 30 13:42:49 2019 +0200

    Migrate ostree redirect over to OSCP

 app_data/httpd-cfg/ostree.gnome.org.conf |  6 ++++++
 resources/ostree.gnome.org.yaml          | 17 +++++++++++++++++
 2 files changed, 23 insertions(+)
---
diff --git a/app_data/httpd-cfg/ostree.gnome.org.conf b/app_data/httpd-cfg/ostree.gnome.org.conf
new file mode 100644
index 0000000..5e04ce3
--- /dev/null
+++ b/app_data/httpd-cfg/ostree.gnome.org.conf
@@ -0,0 +1,6 @@
+<VirtualHost *:8080>
+    ServerName ostree.gnome.org
+
+       RedirectPermanent /work https://build.gnome.org/ostree/buildmaster
+       RedirectPermanent / https://build.gnome.org/
+</VirtualHost>
diff --git a/resources/ostree.gnome.org.yaml b/resources/ostree.gnome.org.yaml
new file mode 100644
index 0000000..293e4ac
--- /dev/null
+++ b/resources/ostree.gnome.org.yaml
@@ -0,0 +1,17 @@
+apiVersion: route.openshift.io/v1
+kind: Route
+metadata:
+  name: ostree.gnome.org
+  namespace: redirects-web
+spec:
+  host: ostree.gnome.org
+  port:
+    targetPort: 8080-tcp
+  tls:
+    insecureEdgeTerminationPolicy: Redirect
+    termination: edge
+  to:
+    kind: Service
+    name: redirects-web
+    weight: 100
+  wildcardPolicy: None


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