[redirects-web] Land redirects for library.g.o



commit 58cecc934b64885be57de778a72f91f898460cd8
Author: Andrea Veri <averi redhat com>
Date:   Thu Aug 22 13:30:49 2019 +0200

    Land redirects for library.g.o

 app_data/httpd-cfg/library.gnome.org.conf |  5 +++++
 resources/library.gnome.org.conf          | 17 +++++++++++++++++
 2 files changed, 22 insertions(+)
---
diff --git a/app_data/httpd-cfg/library.gnome.org.conf b/app_data/httpd-cfg/library.gnome.org.conf
new file mode 100644
index 0000000..8cbff0c
--- /dev/null
+++ b/app_data/httpd-cfg/library.gnome.org.conf
@@ -0,0 +1,5 @@
+<VirtualHost *:8080>
+  ServerName library.gnome.org
+
+  RedirectPermanent /  https://help.gnome.org/
+</VirtualHost>
diff --git a/resources/library.gnome.org.conf b/resources/library.gnome.org.conf
new file mode 100644
index 0000000..691f842
--- /dev/null
+++ b/resources/library.gnome.org.conf
@@ -0,0 +1,17 @@
+apiVersion: route.openshift.io/v1
+kind: Route
+metadata:
+  name: library.gnome.org
+  namespace: redirects-web
+spec:
+  host: library.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]