[redirects-web] Land a 2020.gnome.asia redirect
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [redirects-web] Land a 2020.gnome.asia redirect
- Date: Tue, 15 Sep 2020 15:37:22 +0000 (UTC)
commit 3789f196ac0b0b2a71277a4ebcf2de210edf460d
Author: Andrea Veri <averi redhat com>
Date: Tue Sep 15 17:37:13 2020 +0200
Land a 2020.gnome.asia redirect
app_data/httpd-cfg/2020.gnome.asia.conf | 9 +++++++++
resources/2020.gnome.asia.yaml | 17 +++++++++++++++++
2 files changed, 26 insertions(+)
---
diff --git a/app_data/httpd-cfg/2020.gnome.asia.conf b/app_data/httpd-cfg/2020.gnome.asia.conf
new file mode 100644
index 0000000..e7b9c71
--- /dev/null
+++ b/app_data/httpd-cfg/2020.gnome.asia.conf
@@ -0,0 +1,9 @@
+<VirtualHost *:8080>
+ ServerName 2020.gnome.asia
+
+ RedirectPermanent / https://events.gnome.org/event/24
+</VirtualHost>
+
+<LocationMatch "^/.well-known/acme-challenge">
+ RedirectMatch ^(.*) https://letsencrypt.gnome.org$1
+</LocationMatch>
diff --git a/resources/2020.gnome.asia.yaml b/resources/2020.gnome.asia.yaml
new file mode 100644
index 0000000..7589b9e
--- /dev/null
+++ b/resources/2020.gnome.asia.yaml
@@ -0,0 +1,17 @@
+apiVersion: route.openshift.io/v1
+kind: Route
+metadata:
+ name: 2020.gnome.asia
+ namespace: redirects-web
+spec:
+ host: 2020.gnome.asia
+ 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]