[redirects-web] Land a redirect for conduct.g.o (https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/443
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [redirects-web] Land a redirect for conduct.g.o (https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/443
- Date: Thu, 1 Oct 2020 10:09:45 +0000 (UTC)
commit 5928b72ead461512396ee38fa450aa91728cde3a
Author: Andrea Veri <averi redhat com>
Date: Thu Oct 1 12:09:15 2020 +0200
Land a redirect for conduct.g.o (https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/443)
app_data/httpd-cfg/conduct.gnome.org.conf | 6 ++++++
resources/conduct.gnome.org.yaml | 17 +++++++++++++++++
2 files changed, 23 insertions(+)
---
diff --git a/app_data/httpd-cfg/conduct.gnome.org.conf b/app_data/httpd-cfg/conduct.gnome.org.conf
new file mode 100644
index 0000000..acd62b5
--- /dev/null
+++ b/app_data/httpd-cfg/conduct.gnome.org.conf
@@ -0,0 +1,6 @@
+<VirtualHost *:8080>
+ ServerName conduct.gnome.org
+
+ RewriteEngine On
+ RewriteRule ^(.*)$ https://wiki.gnome.org/Foundation/CodeOfConduct [R,L]
+</VirtualHost>
diff --git a/resources/conduct.gnome.org.yaml b/resources/conduct.gnome.org.yaml
new file mode 100644
index 0000000..04e9f6b
--- /dev/null
+++ b/resources/conduct.gnome.org.yaml
@@ -0,0 +1,17 @@
+apiVersion: route.openshift.io/v1
+kind: Route
+metadata:
+ name: conduct.gnome.org
+ namespace: redirects-web
+spec:
+ host: conduct.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]