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 <noreply@anthropic.com>
This commit is contained in:
Scrublord MacBad 2026-04-23 18:42:57 +02:00
parent bdba4f3e34
commit c85dd39eba
2 changed files with 7 additions and 20 deletions

View File

@ -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

View File

@ -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