add an ingress for matrix so it works without cloudflared
This commit is contained in:
parent
fad50c0398
commit
4d9841ef93
26
matrix/ingress.yaml
Normal file
26
matrix/ingress.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user