Add synapse federation Ingress for serverName path routing
This commit is contained in:
@@ -16,3 +16,29 @@ spec:
|
||||
name: synapse
|
||||
port:
|
||||
number: 8008
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: synapse-federation-ingress
|
||||
namespace: {{ .namespace }}
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- host: {{ .serverName }}
|
||||
http:
|
||||
paths:
|
||||
- path: /.well-known/matrix
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: synapse
|
||||
port:
|
||||
number: 8008
|
||||
- path: /_matrix
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: synapse
|
||||
port:
|
||||
number: 8008
|
||||
|
||||
@@ -24,7 +24,7 @@ defaultConfig:
|
||||
requireTls: '{{ .apps.smtp.tls }}'
|
||||
central:
|
||||
extraDomains:
|
||||
- domain: '{{ .cloud.baseDomain }}'
|
||||
- domain: '{{ .serverName }}'
|
||||
paths:
|
||||
- /.well-known/matrix
|
||||
- /_matrix
|
||||
|
||||
Reference in New Issue
Block a user