imfreedom/k8s-cluster

1f879d002d1d
Parents ae6435670f1f
Children 6bd3bb454a3c
redirect pidgin.im/support to the community page
--- a/50-pidgin.im.yaml Sun Jun 06 23:29:17 2021 -0500
+++ b/50-pidgin.im.yaml Sun Jun 13 16:33:15 2021 -0500
@@ -35,6 +35,17 @@
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
+ name: pidgin-redirect-support
+ namespace: roost
+spec:
+ redirectRegex:
+ regex: ^https?:\/\/[^\/]+(\/support)$
+ replacement: https://pidgin.im/about/community/
+ permanent: true
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: Middleware
+metadata:
name: pidgin-redirects
namespace: roost
spec:
@@ -60,6 +71,7 @@
middlewares:
- name: pidgin-redirect-documentation
- name: pidgin-redirect-pipermail-support
+ - name: pidgin-redirect-support
- name: common-headers
- match: (Host(`pidgin.im`) || Host(`www.pidgin.im`)) && PathPrefix(`/win32`)
kind: Rule
@@ -100,6 +112,7 @@
middlewares:
- name: pidgin-redirect-documentation
- name: pidgin-redirect-pipermail-support
+ - name: pidgin-redirect-support
- name: common-headers
- name: hsts-headers
- match: (Host(`pidgin.im`) || Host(`www.pidgin.im`)) && PathPrefix(`/win32`)