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:
parent
bdba4f3e34
commit
c85dd39eba
@ -28,6 +28,13 @@ spec:
|
|||||||
services:
|
services:
|
||||||
- name: matrix-stack-well-known
|
- name: matrix-stack-well-known
|
||||||
port: 8010
|
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
|
# Niedrigere Priorität: alles andere -> Element Web
|
||||||
- match: Host(`axion1337.chat`)
|
- match: Host(`axion1337.chat`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
|
|||||||
@ -66,26 +66,6 @@ spec:
|
|||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
type: ClusterIP
|
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
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user