commit dd2eb3af036149db3350aa56e3642fbcbc51cdb7 parent 3078cf2a1ef16d9553dbefd288229c3dc9b3f3f0 Author: Joris Hartog <jorishartog@hotmail.com> Date: Thu, 13 Aug 2026 07:21:12 +0200 Add redirect to new domain Diffstat:
| M | config/deployment.yml | | | 32 | ++++++++++++++++++++++++++++++++ |
1 file changed, 32 insertions(+), 0 deletions(-)
diff --git a/config/deployment.yml b/config/deployment.yml @@ -78,6 +78,38 @@ spec: hosts: - getiuna.org --- +apiVersion: traefik.containo.us/v1alpha1 +kind: Middleware +metadata: + name: iuna-redirect-to-getiuna + namespace: iuna +spec: + redirectRegex: + regex: "^https?://iuna\\.jhx\\.app(?:/(.*))?$" + replacement: "https://getiuna.org/$1" + permanent: true + +--- +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute +metadata: + name: iuna-redirect + namespace: iuna +spec: + entryPoints: + - web + - websecure + routes: + - match: Host(`iuna.jhx.app`) + kind: Rule + middlewares: + - name: iuna-redirect-to-getiuna + services: + - name: iuna-www + port: 80 + tls: + secretName: iuna-redirect-tls +--- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: