From c85dd39eba896287f4cedd3f60bef8a837b9dd4a Mon Sep 17 00:00:00 2001 From: Scrublord MacBad Date: Thu, 23 Apr 2026 18:42:57 +0200 Subject: [PATCH] Fix Element Web docs server routing and remove redundant nginx Ingress - Remove duplicate nginx Ingress from element-web-docs-server.yaml (using Traefik instead) - Traefik IngressRoute in apex-ingress.yaml now handles /docs/setup routing - Deployment and Service remain unchanged for file serving Co-Authored-By: Claude Haiku 4.5 --- apps/production/apex-ingress.yaml | 7 +++++++ apps/production/element-web-docs-server.yaml | 20 -------------------- 2 files changed, 7 insertions(+), 20 deletions(-) diff --git a/apps/production/apex-ingress.yaml b/apps/production/apex-ingress.yaml index 0f4ad12..5dd0861 100644 --- a/apps/production/apex-ingress.yaml +++ b/apps/production/apex-ingress.yaml @@ -28,6 +28,13 @@ spec: services: - name: matrix-stack-well-known port: 8010 + # Element Desktop Setup Skripte + - match: Host(`axion1337.chat`) && PathPrefix(`/docs/setup`) + kind: Rule + priority: 50 + services: + - name: element-web-docs + port: 80 # Niedrigere Priorität: alles andere -> Element Web - match: Host(`axion1337.chat`) kind: Rule diff --git a/apps/production/element-web-docs-server.yaml b/apps/production/element-web-docs-server.yaml index 8417de5..10a0295 100644 --- a/apps/production/element-web-docs-server.yaml +++ b/apps/production/element-web-docs-server.yaml @@ -66,26 +66,6 @@ spec: targetPort: 8080 type: ClusterIP ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: element-web-docs - namespace: matrix -spec: - ingressClassName: nginx - rules: - - host: axion1337.chat - http: - paths: - - path: /docs/setup - pathType: Prefix - backend: - service: - name: element-web-docs - port: - number: 80 - --- apiVersion: v1 kind: ConfigMap