add an ingress for matrix so it works without cloudflared

This commit is contained in:
James Andariese 2023-07-15 21:49:34 -05:00
parent fad50c0398
commit 4d9841ef93

26
matrix/ingress.yaml Normal file
View File

@ -0,0 +1,26 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: synapse-werts
namespace: synapse
annotations:
haproxy-ingress.github.io/ssl-redirect: "true"
haproxy-ingress.github.io/timeout-client: 5m
haproxy-ingress.github.io/timeout-server: 5m
spec:
ingressClassName: haproxy
rules:
- host: chat.werts.us
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: synapse-werts
port:
number: 8008
tls:
- hosts:
- chat.werts.us
secretName: wildcard-tls