fix ingress
This commit is contained in:
parent
245cfcc486
commit
4a5f62d17a
37
apps/production/apex-ingress.yaml
Normal file
37
apps/production/apex-ingress.yaml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: axion-apex-tls
|
||||||
|
namespace: matrix
|
||||||
|
spec:
|
||||||
|
secretName: axion-apex-tls
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-prod
|
||||||
|
kind: ClusterIssuer
|
||||||
|
dnsNames:
|
||||||
|
- axion1337.chat
|
||||||
|
---
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: axion-apex
|
||||||
|
namespace: matrix
|
||||||
|
spec:
|
||||||
|
entryPoints: [websecure]
|
||||||
|
tls:
|
||||||
|
secretName: axion-apex-tls
|
||||||
|
routes:
|
||||||
|
# Höchste Priorität: /.well-known/matrix/* -> wellKnownDelegation-Service
|
||||||
|
- match: Host(`axion1337.chat`) && PathPrefix(`/.well-known/matrix`)
|
||||||
|
kind: Rule
|
||||||
|
priority: 100
|
||||||
|
services:
|
||||||
|
- name: matrix-stack-well-known-delegation
|
||||||
|
port: 8080
|
||||||
|
# Niedrigere Priorität: alles andere -> Element Web
|
||||||
|
- match: Host(`axion1337.chat`)
|
||||||
|
kind: Rule
|
||||||
|
priority: 10
|
||||||
|
services:
|
||||||
|
- name: matrix-stack-element-web
|
||||||
|
port: 8080
|
||||||
@ -10,6 +10,7 @@ stringData:
|
|||||||
smtp-config:
|
smtp-config:
|
||||||
config: |
|
config: |
|
||||||
email:
|
email:
|
||||||
|
mode: enabled
|
||||||
from: gamemaster@axion1337.chat
|
from: gamemaster@axion1337.chat
|
||||||
transport: smtp
|
transport: smtp
|
||||||
smtp:
|
smtp:
|
||||||
|
|||||||
@ -60,7 +60,7 @@ spec:
|
|||||||
elementWeb:
|
elementWeb:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingress:
|
ingress:
|
||||||
host: chat.axion1337.chat
|
host: axion1337.chat
|
||||||
|
|
||||||
# Element Admin
|
# Element Admin
|
||||||
elementAdmin:
|
elementAdmin:
|
||||||
@ -72,5 +72,5 @@ spec:
|
|||||||
# Aktiviert – notwendig für MatrixRTC-Discovery
|
# Aktiviert – notwendig für MatrixRTC-Discovery
|
||||||
wellKnownDelegation:
|
wellKnownDelegation:
|
||||||
enabled: true
|
enabled: true
|
||||||
baseDomainRedirect:
|
ingress:
|
||||||
url: https://chat.axion1337.chat
|
className: "none" # Deaktiviert den Chart-Ingress, wir erstellen einen eigenen
|
||||||
Loading…
x
Reference in New Issue
Block a user